Idris2/tests/idris2/basic062/Issue1943.idr

7 lines
86 B
Idris

record Foo where
constructor MkFoo
(^) : Nat
AFoo : Foo
AFoo = MkFoo { (^) = 42}