Idris2/tests/idris2/basic/basic062/Issue1943.idr
2023-09-07 14:57:22 +01:00

7 lines
86 B
Idris

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