Idris2/tests/idris2/record009/record.idr
Edwin Brady 2bd89cee36 Placate linter
It should not care about spacing in tests. Not an issue here in
practice, but who knows if we might want to test a spacing related thing
some day.
2021-07-10 19:17:08 +01:00

14 lines
173 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