Idris2/tests/idris2/record009/record.idr
2021-07-10 19:18:49 +01:00

14 lines
172 B
Idris

parameters (X : Nat)
Foo : Type
Foo = Nat
record Bar where
constructor MkBar
Gnu : Foo
Baz : Foo -> Nat
Baz x = x
Quux : Bar -> Foo
Quux x = Gnu x