Re: Re-frame - on-click handler doesn't work, and I can't understand why not

2018-08-28 Thread 'Simon Brooke' via Clojure
Thanks, yes, that was part of the problem. The other part was failing to deref the atom. D'oh! On Tuesday, 28 August 2018 17:16:00 UTC+1, Matching Socks wrote: > > Did you intend to pass a function-that-returns-a-function instead of just > a function as the handler? Also, it is a bit odd (maybe

Re-frame - on-click handler doesn't work, and I can't understand why not

2018-08-28 Thread Matching Socks
Did you intend to pass a function-that-returns-a-function instead of just a function as the handler? Also, it is a bit odd (maybe it has to do with context you have not shown) to use the big-link component function with () as opposed to square brackets. -- You received this message because

Re: New developments in beginner-friendly editing/repl environments?

2018-08-28 Thread 'Lee' via Clojure
Thanks! I will add a pointer to chocolatey in my class notes. FWIW, although the lein installation piece sometimes seem to have been the hangup, we've often gone down rabbit holes of messing with different versions and/or installers and/or configuration procedures for Java, lein, and whatever

Re-frame - on-click handler doesn't work, and I can't understand why not

2018-08-28 Thread 'Simon Brooke' via Clojure
Hi, I'm stuck... Consider this function : (defn big-link [text & {:keys [target handler]}] (js/console.log (str "Big link with target '" target "'; handler '" handler

Re: New developments in beginner-friendly editing/repl environments?

2018-08-28 Thread Nando Breiter
https://chocolatey.org/ might help Windows users install Leiningen https://chocolatey.org/packages/lein The proto-repl readme: https://github.com/jasongilman/proto-repl says that "Proto REPL can still start a REPL outside of a Leiningen project. It still uses Leiningen to start the REPL but uses