2010/12/30 Ken Wesson <kwess...@gmail.com>

> On Wed, Dec 29, 2010 at 5:47 PM, Laurent PETIT <laurent.pe...@gmail.com>
> wrote:
> > invoking keywords on symbols just returns nil.
>
> I wonder why this is? It should probably throw an exception if the
> argument isn't some kind of a map.
>

Indeed, it's somehow a shame that neither does the `get` function (to which
the keyword will delegate the call) include precondition checks, neither
does it throw an exception on bad input (i.e. not associative, I guess).


>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com<clojure%2bunsubscr...@googlegroups.com>
> 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 post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to