mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-22 19:21:39 +03:00
10 lines
132 B
Idris
10 lines
132 B
Idris
|
record Foo where
|
||
|
constructor MkFoo
|
||
|
{Gnu : Char}
|
||
|
|
||
|
AFoo : Foo
|
||
|
AFoo = MkFoo {Gnu = 'c'}
|
||
|
|
||
|
Bar : Foo
|
||
|
Bar = record { Gnu = '?' } AFoo
|