mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-02 19:32:17 +00:00
![]() Programs like ``` after : ({} -> a), ({} -> b) -> ({} -> b) fx = after (\{} -> {}) \{} -> if Bool.true then fx {} else {} ``` are legal because they always decay to functions, even if they may not look like functions syntactically. Rather than using a syntactic check to check for illegally-recursive functions, we should only perform such checks after we know the types of values. Closes #4291 |
||
---|---|---|
.. | ||
docs | ||
src | ||
tests | ||
Cargo.toml |