Elsa icon indicating copy to clipboard operation
Elsa copied to clipboard

Pass higher-level function type parameters to lambdas supplied as arguments.

Open Fuco1 opened this issue 5 years ago • 0 comments

If I have a higher-level function foo with type (Bool -> Int) -> Int implemented as

(foo (lambda (x) 1))

it should derive that x must be of type Bool.

Fuco1 avatar Apr 25 '20 20:04 Fuco1