Fork me on GitHub

We've recently published corallo, a tiny graph library in Clojure. It's available on Clojars too.

🕸️ 4
👏 6

Congrats! A short tl;dr a.k.a. Rationale would be helpful imho, this is just a feedback, no expectation or obligation. 😉


thanks for the feedback, we'll add it soon. 🙂


also comparison with another graph libraries will help a lot. [ubergraph]( as example


@U7JKD4ENQ done. @U04V4KLKC we'll see what we can do.

👍 1

yeah, I’m curious why ubergraph/loom wasn’t used. I think both those libs could use some cleanup and should be merged, but they do work. and “because we wanted the experience of building a graph library” is a perfectly good reason 🙂


@UCF779XFS There are some reasons not to merge loom and ubergraph, IIRC from having talked with @U0518RMLD.


don’t want to go too offtopic of this thread, but I would be interested in hearing reasons/plans for future of graph libs on clojure. loom has essentially been (all but?) abandoned with many outstanding issues and no responses from the devs. ubergraph seems to be a better model. it might be that “merging” just meant ubergraph replaces loom and takes ownership of the protocols and algorithms included in loom


@UCF779XFS I know we shouldn't reinvent the wheel, loom and ubergraph are awesome and far more complete than corallo. We wrote it to have something small, understandable and aimed to direct graphs (maybe we should change the description). I think corallo is more idiomatic, no protocols or any other "Javaish" stuff in its core, but pure clojure data structures. That's all.

👍 2

FWIW, I consider protocols/records a very Clojuric take on Java interfaces, and think this is an appropriate application of the feature. But I concede, it's not Just Data ™️


yeah, I don’t think it’s fair to write-off protocols because they are similar to Java interfaces. most languages have some way of using polymorphism to define a group of related functions. e.g., Haskell’s typeclasses

✔️ 1