talira

Martin Erwig's Functional Graph Library for Haskell

open sourceBSD-3-Clausefree

fgl, the Functional Graph Library, is a Haskell library that takes an inductive approach to representing and manipulating graphs. Martin Erwig wrote it originally, and his papers on the original website explain the approach, though the code may no longer match them. A companion package, fgl-arbitrary, adds QuickCheck Arbitrary instances for fgl graphs. Install it from Hackage as fgl.

Problems it solves

  • work with graphs in Haskell in a purely functional way
  • build and query graphs in Haskell without mutable state
  • a graph library for my Haskell project

Features

  • inductive graph representation
  • QuickCheck instances in the fgl-arbitrary package