Idris2/tests/idris2/basic010/Comp.idr
Edwin Brady a972778eab Add test script
They don't all pass yet, for minor reasons. Coming shortly...
Unfortunately the startup overhead for chez is really noticeable here!
2020-05-19 18:25:18 +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