1
1
mirror of https://github.com/idris-lang/Idris2.git synced 2025-01-07 08:18:12 +03:00
Idris2/tests/idris2/basic062/Issue1943.idr

7 lines
86 B
Idris

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