Hey Aria / Jason,
Thanks for OSing this library, its really useful. One question: how do
you deal with nesting on the output side of graph declaration ? I
understand it for fnk, but but how would I achieve:
{:a {:b 1}} -> {:a {:b 1, :c 2}}
with a single declaration:
(graph/eager-compile
{??? (fnk [[:a b]] (inc b))}
where ??? is the binding form I'm after to describe the nesting ?
I'm currently doing this by breaking up my map and using update-in, but it
seems you must have a sneaky trick to do this declaratively ?
I figure [:a :c] would be an possible syntax ?
Thanks again,
Edmund
On Tuesday, 29 January 2013 18:46:54 UTC, Aria Haghighi wrote:
>
> Hey all,
>
> Prismatic has open-sourced our Plumbing and Graph library on
> github<https://github.com/prismatic/plumbing>.
> Jason Wolfe gave a
> talk<http://blog.getprismatic.com/blog/2012/10/1/prismatics-graph-at-strange-loop.html>about
> how we use graph for systems composition at Strange loop last year.
> Please give the library
> a whirl and let us know if you're using it and if you find any issues or
> feature requests. We use this library very heavily throughout our code and
> hope others find it useful as well.
>
> Best, Aria
>
--
--
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/groups/opt_out.