Skip to content

Problem typechecking higher-order functions #206

@mbenke

Description

@mbenke
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

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions