Idris2/tests/idris2/interactive/interactive026/expected
2023-09-07 14:57:22 +01: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!