Hi Christian, I think you are looking for this. http://en.wikipedia.org/wiki/Facade_pattern
In clojure you can use a def for each private member of the facade. Alternatively you can write a function to instantiate and return private members. Use a defn for each facade's methods. Luca Il giorno mercoledì 2 aprile 2014 14:48:39 UTC+2, Christian Eitner ha scritto: > > Hello everybody, > > Given an enormous network of inter-referenced, mutable objects which have > to change in-place driven by events (= the OO system). > > Which strategy would you recommend to plug into such a system with > Clojure, building an island of immutable functional programming saneness? > How to build this famous 'stateful bridge' that I have read about here and > there, but have not found concrete examples for? > > Or would you really dissuade me from trying anything like that, and treat > Clojure's 'hostedness' as simply a way to use the host's array of libraries? > > Any hints or references to further literature would be welcome. > > Thanks for your consideration, > > Christian > -- 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
