On Mar 25, 11:35 pm, Raoul Duke <rao...@gmail.com> wrote: > if one doesn't have to convert the db into objects, then is there less > impedance mismatch? what is a nice setup in a functional language for > working with a db schema? what is your experience/thought?
Somewhat less, at least in my experience. In FP, you can basically view a relation (table) as a function of its key(s) and build your logic from there. Yet, traditional O-R mappers are still giving me a productivity boost because of the low-level mapping of primitive types to DB field types, and because they handle aggregate and composite- structures for me. I'm currently unaware of a mature functional O-R mapper (even a non-clojure or non-lisp one). Most relational systems in the FP world (like the Datalog work going on for Clojure) seem to operate on memory-based databases, not on persistent ones (and seem to focus completely on querying and inference, ignoring the aspect of persistence). --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---