mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-21 10:41:59 +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
|