You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.
Currently let introduces a new scope, so it's not possible to write mutually recursive definitions:
let x = y in
let y = 1 in
x
Will give you a y is not defined error, since y is not in x's scope. The solution for this is to introduce all definitions at the same time (we don't need a rec modifier since all bindings are lazily evaluated anyway):
let x = y
let y = 1
in x
The text was updated successfully, but these errors were encountered:
Currently
let
introduces a new scope, so it's not possible to write mutually recursive definitions:Will give you a
y is not defined
error, sincey
is not inx
's scope. The solution for this is to introduce all definitions at the same time (we don't need arec
modifier since all bindings are lazily evaluated anyway):The text was updated successfully, but these errors were encountered: