I have been looking for exactly that, thanks! Le vendredi 8 mai 2015 00:52:45 UTC+2, Frozenlock a écrit : > > You might be interested in a quick look at: > https://github.com/Frozenlock/entanglement > > I wrote it after working on reagent-cursors and seeing a pattern emerge. > > The main purpose is to have an abstraction layer between the data and the > application (IE Reagent). > This way you can decouple how Reagent is written and how your data is > stored in an atom. > > (Related Reagent issue: > https://github.com/reagent-project/reagent/issues/92) > > > On Tuesday, May 5, 2015 at 7:47:02 PM UTC-4, marc fawzi wrote: >> >> So after a couple of months drooling over ClojureScript's more advanced >> facilities, I've finally managed to play with Protocols and Records. >> >> It feels a bit OO-ish me, but can't see how I could survive without it.... >> >> Is this really functional programming or did I subconsciously revert to >> OO? >> >> PowerCursors >>> >> >> https://gist.github.com/idibidiart/0090a95b6b4f9c12c070 >> >> >> The previous version was a weaker abstraction which used multi-methods ( >> https://gist.github.com/idibidiart/2b3aa1594ce707227b96) and is very >> amateur in retrospect so I'm hoping the next version will be that much >> better... >> >> This one doesn't even >> >> If you have any feedback for this n00b please don't hesitate to share >> here. >> >> Btw, all of this digging and exploring because of one comment at our last >> SF Reagent meetup that cursors were just simple pointers. The latest >> abstraction doesn't even use any cursor per se but invents it's own simple >> yet more robust lensing pattern. >> >> Thank you for all your help answering my often ridiculous questions. >> >> Marc >> p.s. the last meetup's video IS coming this Thursday, and it will put all >> of this "Cursors can do it all, depending on how you define them" in >> context.. >> >>
-- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
