mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-19 01:01:59 +03:00
14 lines
189 B
Idris
14 lines
189 B
Idris
parameters (X : Nat)
|
|
Foo : Type
|
|
Foo = Nat
|
|
|
|
record Bar (xs : List a) where
|
|
constructor MkBar
|
|
Gnu : Foo
|
|
|
|
Baz : Foo -> Nat
|
|
Baz x = x
|
|
|
|
Quux : Bar xs -> Foo
|
|
Quux x = Gnu x
|