Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alexandrepiveteau/elm-algebraic-graph

Algebraic graphs for Elm
https://github.com/alexandrepiveteau/elm-algebraic-graph

algebraic-data-types elm graph

Last synced: 2 months ago
JSON representation

Algebraic graphs for Elm

Awesome Lists containing this project

README

        

# Algebraic Graphs

It's always convenient to use graphs, but they are inherently unsafe data structures in a functional
world. For instance, how do you avoid creating graphs that have edges referencing unknown vertices ?

This is where **algebraic graphs** come into play. They define an **algebraic data type** that lets
you describe any graph, and only produce valid graphs.

This library is based on the paper [Algebraic Graphs with Class](https://github.com/snowleopard/alga-paper)
by @snowleopard.