-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
let* please, possibly even letrec, letrec* #1352
Comments
Doesn't
|
Regarding |
|
Hm - my bad then, I guess, and sorry for the noise - I was pretty sure,
that I ran in a situation, where this did not work, but now, that
you are pushing me, and I am trying again, it seems to work for me.
I have these nested let in a couple of places now, and will
get rid of them one by one (and I will shout out, in case of some
issue remaining for me, i.e. if I keep quiet, than everything's fine).
Thanks for your feedback.
-A
sogaiu ***@***.***> writes:
… Doesn't let already do what you want?
$ janet
Janet 1.33.0-f91e5994 linux/x64/gcc - '(doc)' for help
repl:1:> (let [x 1 y x] (+ x y))
2
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is on my wishlist: let*
I am currently using nested let instead, which seems a little awkward:
with let* this would be as simple as
Even one step further: recursive defs - with letrec/letrec* - have a look at the (Gauche- Guile-) Scheme src/docs for example.
Thanks!
The text was updated successfully, but these errors were encountered: