mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-16 15:52:43 +03:00
16 lines
363 B
Plaintext
16 lines
363 B
Plaintext
|
1/2: Building Stuff (Stuff.idr)
|
||
|
2/2: Building Functor (Functor.idr)
|
||
|
Main> 0 b : Type
|
||
|
0 a : Type
|
||
|
0 d : Type
|
||
|
0 c : Type
|
||
|
-------------------------------------
|
||
|
foo : (a -> b) -> Test c d a -> Test c d b
|
||
|
Main> 0 b' : Type
|
||
|
0 a' : Type
|
||
|
0 b : Type
|
||
|
0 a : Type
|
||
|
-------------------------------------
|
||
|
bar : (a' -> b') -> Test a b a' -> Test a b b'
|
||
|
Main> Bye for now!
|