1
1
mirror of https://github.com/idris-lang/Idris2.git synced 2024-12-23 19:54:50 +03:00
Idris2/tests/idris2/interactive026/expected
GustavoMF31 7f495999bd
Make :typeat a useful command ()
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!