mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-11-28 14:06:26 +03:00
607e280895
This means that even if the relevant parameters aren't used by a method body, the method can still see what the implicits are (though they will be 0 multiplicity). This is relevant to #8, but doesn't really fix it because we still need a way of saying that methods are 0 multiplicity.
17 lines
411 B
Plaintext
17 lines
411 B
Plaintext
1/2: Building Stuff (Stuff.idr)
|
|
2/2: Building Functor (Functor.idr)
|
|
Welcome to Idris 2 version 0.0. Enjoy yourself!
|
|
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!
|