2019-06-24 19:35:00 +03:00
|
|
|
1/2: Building Stuff (Stuff.idr)
|
|
|
|
2/2: Building Functor (Functor.idr)
|
|
|
|
Welcome to Idris 2 version 0.0. Enjoy yourself!
|
2019-07-20 18:25:40 +03:00
|
|
|
Main> 0 b : Type
|
2019-06-24 19:35:00 +03:00
|
|
|
0 a : Type
|
2019-07-20 18:25:40 +03:00
|
|
|
0 d : Type
|
|
|
|
0 c : Type
|
2019-06-24 19:35:00 +03:00
|
|
|
-------------------------------------
|
|
|
|
foo : (a -> b) -> Test c d a -> Test c d b
|
2019-07-20 18:25:40 +03:00
|
|
|
Main> 0 b' : Type
|
2019-06-24 19:35:00 +03:00
|
|
|
0 a' : Type
|
2019-07-20 18:25:40 +03:00
|
|
|
0 b : Type
|
|
|
|
0 a : Type
|
2019-06-24 19:35:00 +03:00
|
|
|
-------------------------------------
|
|
|
|
bar : (a' -> b') -> Test a b a' -> Test a b b'
|
|
|
|
Main> Bye for now!
|