On 30 Dec 2009, at 02:36, Joost wrote:

> Personally, I prefer to use multple "prototypes":
>
> (defn bla
>  ([aaa bbb ccc] ....)
>  ([bbb cc] (bla 0 bbb cc)))
>
> etc.

That's the preferred approach for me too, but it doesn't work for  
functions that take a variable number of arguments.

Konrad.

-- 
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