fgl icon indicating copy to clipboard operation
fgl copied to clipboard

Use PrimMonad to make life easier

Open treeowl opened this issue 9 years ago • 1 comments

  • As usual, the IO and ST code were actually the same. PrimMonad abstracts from that, and also adds support for monad transformers.
  • Removed utterly bogus Show instances 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.

treeowl avatar Aug 30 '16 09:08 treeowl

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.

treeowl avatar Aug 30 '16 09:08 treeowl