mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-26 13:11:30 +03:00
b57b28a64e
Add syntax for bind-all-explicits Add new record update syntax Remove PInstance
8 lines
1.0 KiB
Plaintext
8 lines
1.0 KiB
Plaintext
Processing as TTImp
|
|
Written TTC
|
|
Yaffle> ((((Main.MkPerson "Fred") 1337) 10) ((Main.MkStats 11) 10))
|
|
Yaffle> ((((Main.MkMyDPair [a = Main.Nat]) [p = (%lam RigW Explicit (Just n) Main.Nat ((Main.Vect n) Integer))]) (Main.S (Main.S (Main.S (Main.S Main.Z))))) ((((Main.Cons [k = (Main.S (Main.S (Main.S Main.Z)))]) [a = Integer]) 10) ((((Main.Cons [k = (Main.S (Main.S Main.Z))]) [a = Integer]) 1) ((((Main.Cons [k = (Main.S Main.Z)]) [a = Integer]) 2) ((((Main.Cons [k = Main.Z]) [a = Integer]) 3) (Main.Nil [a = Integer]))))))
|
|
Yaffle> ((((Main.MkMyDPair [a = Main.Nat]) [p = (%lam RigW Explicit (Just n) Main.Nat ((Main.Vect n) Integer))]) (Main.S (Main.S (Main.S (Main.S Main.Z))))) ((((Main.Cons [k = (Main.S (Main.S (Main.S Main.Z)))]) [a = Integer]) 10) ((((Main.Cons [k = (Main.S (Main.S Main.Z))]) [a = Integer]) 1) ((((Main.Cons [k = (Main.S Main.Z)]) [a = Integer]) 2) ((((Main.Cons [k = Main.Z]) [a = Integer]) 3) (Main.Nil [a = Integer]))))))
|
|
Yaffle> ((((Main.MkPerson "Fred") 1337) 10) ((Main.MkStats 10) 94))
|
|
Yaffle> Bye for now!
|