mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-17 00:10:31 +03:00
7f495999bd
Co-authored-by: Guillaume ALLAIS <guillaume.allais@ens-lyon.org>
12 lines
327 B
Plaintext
12 lines
327 B
Plaintext
1/1: Building TypeAtRecords (TypeAtRecords.idr)
|
|
Main> Main.Person.name : Person animal -> String
|
|
Main> Main.Person.age : Person animal -> Nat
|
|
Main> Main.Person.pet : Person animal -> animal
|
|
Main> animal : Type
|
|
Main> one : Nat
|
|
Main> p : Person a
|
|
Main> emptyString : String
|
|
Main> zero : Nat
|
|
Main> p : Person a
|
|
Main> Bye for now!
|