fgl
fgl copied to clipboard
Use PrimMonad to make life easier
- As usual, the
IOandSTcode were actually the same.PrimMonadabstracts from that, and also adds support for monad transformers. - Removed utterly bogus
Showinstances for monadic graphs. The right thing to do is probably to offer a graph freezing primitive; then the frozen graph can be shown as usual. For large graphs, streaming conversion would be useful.
This is a bit of a work in progress, and definitely not something to merge in a minor version. But I think the general idea is right.