Idris2/tests/idris2/interactive026/expected
GustavoMF31 7f495999bd
Make :typeat a useful command (#998)
Co-authored-by: Guillaume ALLAIS <guillaume.allais@ens-lyon.org>
2021-02-05 16:15:40 +00:00

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!