
15 Dec
2016
15 Dec
'16
10:18 a.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-Mo... Or you could store Graph state in an MVar and work as you would with stateful approach