mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-20 18:21:47 +03:00
7 lines
86 B
Idris
7 lines
86 B
Idris
|
record Foo where
|
||
|
constructor MkFoo
|
||
|
(^) : Nat
|
||
|
|
||
|
AFoo : Foo
|
||
|
AFoo = MkFoo { (^) = 42}
|