On Thursday, 4 December 2014 16:45:38 UTC, David Nolen wrote: > On Thu, Dec 4, 2014 at 11:15 AM, Colin Yates <[email protected]> wrote: > > > > Of course, the answer is obvious when you spot it: (om/set-state! cursor > > (conj @cursor id)). > > > > Numpty points for me :). > > By the way I'm more than happy to add more function argument > validations to Om for dev time to avoid easy to miss mistakes like > this. > > :pre & :post conditions emit `assert`s. These can be elided in > production via a flag to the ClojureScript compiler. > > Thoughts? > > David
+1 for me obviously :). -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
