Deconstruct using def #156
Chemaclass
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Well, that can be done but I think it bring not much benefits.
Another reason is that you can add meta data to a Regarding Janet: The |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Without destructuring, we might do
With destructuring; using let vs def
What about to be able to deconstruct a tuple or a table using def? For example:
I saw this functionality in Janet, but I didn't see it in Clojure...
Does it make sense to implement this? What do you think, @jenshaase?
Beta Was this translation helpful? Give feedback.
All reactions