-
Looking at the repl example:
👉 Why isn't this instead?
|
Beta Was this translation helpful? Give feedback.
Answered by
yannham
Sep 2, 2021
Replies: 1 comment 1 reply
-
Thanks for reporting! You're correct. Running
We'll fix the example. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
bew
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for reporting!
You're correct. Running
let x = 2 in x + x
prints4
, and does NOT putx
in scope. However, if you use a top-level let without anin
, you can add stuff to the environment:We'll fix the example.