Idris2/tests/idris2/basic/basic010/Comp.idr
2023-09-07 14:57:22 +01:00

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