Files
newt/tests/TrailDollar.newt
Steve Dunham c3e70c9ecc
Some checks failed
Publish Playground / build (push) Has been cancelled
Publish Playground / deploy (push) Has been cancelled
operator sections
2026-01-31 13:21:23 -08:00

14 lines
227 B
Agda

module TrailDollar
import Prelude
infixl 5 _$$_
_$$_ : Nat (Nat Nat) Nat
a $$ b = a + b a
-- Previously this didn't parse, but it does with operator section support.
blah : Nat Nat
blah x = x $$ $ \ y => y