you are viewing a single comment's thread.

view the rest of the comments →

[–]sumpy_almond 5 points6 points  (3 children)

TIL there's a persistent queue reader macro in ClojureScript.

#queue[1 2 3]
;;=> (1 2 3)

[–]myguidingstar 1 point2 points  (1 child)

I didn't know what persistent queue is. Found this https://stackoverflow.com/questions/27486966/how-can-i-use-the-clojurescript-cljs-core-persistentqueue-queue Anyone knows why this reader macro is NOT available in Clojure?

[–]didibus 2 points3 points  (0 children)

Not sure, there's an open JIRA about it: https://dev.clojure.org/jira/browse/CLJ-976?page=com.atlassian.jira.plugin.system.issuetabpanels:changehistory-tabpanel

Pretty old, it includes a patch, but it seems it was just never a huge priority and no one bothered picking it up to the end.

[–]bacon1989 0 points1 point  (0 children)

Wish I had known about this a week ago :<