It would be nice to have visual trees generated from ChunkedSentences, ideally in a way that would work with IHaskell, but just generating PNGs or other open formats would be great.
I envision an API like this:
typeclass ShowTree a where
showTree :: a -> SomeImageFormat
There shouldn't need to be any IO in that function, but I can imagine other parameters coming into play (resolution, DPI, color palette, etc...) but even a basic approach would be great. This would be primarily for debugging/experimentation.
It would be nice to have visual trees generated from ChunkedSentences, ideally in a way that would work with IHaskell, but just generating PNGs or other open formats would be great.
I envision an API like this:
There shouldn't need to be any IO in that function, but I can imagine other parameters coming into play (resolution, DPI, color palette, etc...) but even a basic approach would be great. This would be primarily for debugging/experimentation.