15 Dec
2016
15 Dec
'16
11:18 p.m.
A graph library of your choice + State monad would do the trick. e.g.: fgl Data-Graph-Inductive-Monad <https://hackage.haskell.org/package/fgl-5.5.3.0/docs/Data-Graph-Inductive-Monad.html> Or you could store Graph state in an MVar and work as you would with stateful approach