``` function foo () -> (word) -> bool { return lam (x:word) -> bool { return true; }; } ``` fails with an error ``` Types: word -> bool and t_lambda_impl01 do not unify ```