One place it has mattered is in using compojure with ring. I'm building a few middlewares that permit my applications to have a good sense of structure (somewhat MVC ish) in that process I discovered that to be compojure compatible you must return a supported type or extend the Renderable protocol.
To your point a map could have been returned, however in this case I wanted to ensure I could pass a rich datastructure around that didn't run the risk of being considered a ring response; thus I created my own. Having used this for a bit now, I'm certainty craving the simplicity of maps. Though the fact errors take place in my code versus further down the stack is a nice benefit in this setup. On Feb 16, 2011 2:34 AM, "Sunil S Nandihalli" <[email protected]> wrote: > Thanks Michael. > yea true .. but I don't think I will miss them much .. :) > Sunil. > > On Wed, Feb 16, 2011 at 12:32 PM, Michael Ossareh <[email protected]> wrote: > >> Am I missing something? >>> >> >> types. >> >> -- >> 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 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 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
