mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-11-13 05:48:39 +03:00
8 lines
202 B
Idris
8 lines
202 B
Idris
|
-- Testing that unbound implicits get lifted appropriately
|
||
|
|
||
|
-- Should all be at the top
|
||
|
comp : (b -> c) -> (a -> b) -> a -> c
|
||
|
|
||
|
-- Leave 'a' where it is
|
||
|
comp2 : (b -> c) -> {a : _} -> (a -> b) -> a -> c
|