mirror of
https://github.com/ilyakooo0/Idris-dev.git
synced 2024-09-21 22:17:19 +03:00
16 lines
316 B
Plaintext
16 lines
316 B
Plaintext
MkFoo : (bar : Nat) -> (baz : Bool) -> Foo a
|
|
Constructor for Foo
|
|
Arguments:
|
|
(implicit) a : Type -- a type
|
|
|
|
bar : Nat -- A field bar
|
|
|
|
baz : Bool -- A field baz
|
|
|
|
bar : (rec : Foo a) -> Nat
|
|
A field bar
|
|
|
|
baz : (rec : Foo a) -> Bool
|
|
A field baz
|
|
|