2014-02-28 17:21 GMT+01:00 Ambrose Bonnaire-Sergeant <
[email protected]>:

> (defmacro motion-case [...]
>   `(case ..
>      ~MotionEvent/ACTION_POINTER_DOWN ...
>      ~MotionEvent/ACTION_UP ...
> ))
>

That's a neat trick! Didn't know case could do this.

Wouldn't it be great to mention this in the docs + the class of values for
which this is legal, i.e. roughly those with a stable hash?

cheers

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to