On Sat, Jun 13, 2009 at 11:27 PM, Wrexsoul<d2387...@bsnow.net> wrote: > > On Jun 13, 4:11 pm, Jarkko Oranen <chous...@gmail.com> wrote: [...] >> I also personally dislike functions that take a boolean parameter; if >> you must, at least make it optional, with default to false > > The -raw ending is one I use on functions that tend to have ugly call > semantics, and are mainly used to implement other more specialized > functions. I had a map-preserve that called map-preserve-raw with > keys? false, in particular, which would be the function usually used. > >> > (defn map-preserve [f coll] >> > (map-preserve-raw f coll false)) > > There it is.
It seems to me that it is more idiomatic to use map-preserve* instead of map-preserve-raw in Clojure code. Or at least I've seen others use that convention. -- Michael Wood <esiot...@gmail.com> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---