Skip to content
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

Destructuring support #96

Open
h2non opened this issue Apr 21, 2014 · 3 comments
Open

Destructuring support #96

h2non opened this issue Apr 21, 2014 · 3 comments

Comments

@h2non
Copy link

h2non commented Apr 21, 2014

It would be great if adds support for data destructuring, like in [Clojure](http://clojure.org/special_forms#Special Forms--Binding Forms %28Destructuring%29):

Functions arguments:

(defn ^string join 
  [[a b]] (str b a))
(join [:foo :bar])

Let expressions:

(let [[first-name last-name & aliases]
    (list "Rich" "Hickey" "The Clojurer" "Go Time")])

Did you plan to support it? I could try to make a PR with this feature

@Gozala
Copy link
Collaborator

Gozala commented Apr 21, 2014

I would really like that & has being on my todo list for quite some time.
I'm afraid I won't have much time to do it myself any time soon, I would be
happy to get a pull request & even guide anyone interested through the
process. So yeah if you wanna take a stab at it, please do!!

On Monday, April 21, 2014, Tomás Aparicio notifications@github.com wrote:

It would be great if adds support for data destructuring, like in Clojurehttp://clojure.org/special_forms#Special%20Forms--Binding%20Forms%20(Destructuring)
:

Functions arguments:

(defn ^string join
[[a b]](str b a))(join [:foo :bar])

Let expressions:

(let [first-name last-name & aliases])

Did you plan to support it? I could try to make a PR with this feature


Reply to this email directly or view it on GitHubhttps://github.com//issues/96
.

Regards

Irakli Gozalishvili
Web: http://www.jeditoolkit.com/

@Gozala
Copy link
Collaborator

Gozala commented Apr 25, 2014

BTW @xkxx @jacereda also reached me out in regards to destructuring support. If one of you will end up working on it, could you please mention here to avoid duplication of efforts.

Thanks!

@Fresheyeball
Copy link

Any progress on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants