mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-12-18 18:31:43 +03:00
b0cad15c65
Only valid if unifying the pattern at the end doesn't solve any metavariables. Also when elaborating applications of fromInteger etc to constants on the LHS we need to be in expression mode, then reduce the result later.
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
|