Idris2/tests/idris2/basic062/Issue1943.idr

7 lines
86 B
Idris
Raw Normal View History

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