2010/12/30 Ken Wesson <[email protected]>

> On Wed, Dec 29, 2010 at 5:47 PM, Laurent PETIT <[email protected]>
> 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 [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]<clojure%[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 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

Reply via email to