https://github.com/swannodette/om/issues/287

Expect these validations to land in 0.8.0.

David

On Thu, Dec 4, 2014 at 11:47 AM, Colin Yates <colin.ya...@gmail.com> wrote:
> On Thursday, 4 December 2014 16:45:38 UTC, David Nolen  wrote:
>> On Thu, Dec 4, 2014 at 11:15 AM, Colin Yates <colin.ya...@gmail.com> 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 clojurescript+unsubscr...@googlegroups.com.
> To post to this group, send email to clojurescript@googlegroups.com.
> Visit this group at http://groups.google.com/group/clojurescript.

-- 
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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to