TYP350
TYP350 — lambda needs an expected function type
| Subsystem | Type checking |
| Severity | error |
A lambda (|x| …) appears where no fn type is expected (e.g. an unannotated let). Annotate the binding (let f: fn(i64) -> i64 = |x| …) or pass it where a function is expected; v0 has no standalone inference of lambda parameter types. See spec/closures.md.
From your terminal:
q64 explain TYP350