Re: Referencing Clojure code from the ClojureScript namespace

2011-08-09 Thread Paul Dorman
Thanks from me as well. This very question was my very next challenge. I would like to reuse Clojure functions from ClojureScript to achieve consistent back- and front-end password quality validation. One potential wrinkle may be the issue of the size of the bloom filter I'm using for the diction

Re: Referencing Clojure code from the ClojureScript namespace

2011-08-08 Thread Alen Ribic
Thanks Chouser for the clear explanation. When I stepped away from the screen and took some time to actually think, I came to a basic conclusion that you so well described; having that Clojure code is executed at a different time to the actual code that is targeted on the javascript vm. I am curre

Re: Referencing Clojure code from the ClojureScript namespace

2011-08-08 Thread Chouser
On Mon, Aug 8, 2011 at 12:59 PM, Alen Ribic wrote: > It seems that the only way to reference Clojure code [1] from the > ClojureScript namespace is via the ns require-macros keyword. > Is this correct and if so, why the reference to macros only and not to > general functions too. (I'm sure there i