Closed chfin closed 3 years ago
I was looking for similar functions to troubleshoot an issue so it's a yes from me but I am no maintainer.
Yeah, I don't know how this isn't there already! I guess pipePreview
was serving that role, but it's not nearly obvious enough. Is the IO ()
type on viewFrame
the best option or should we return a list of lines to make it easier to take
a prefix?
I've pushed these in the 0.7.1 release. I hope they are helpful!
It would be nice to have a
Show
instance for Frames, or at least a function to quickly print a frame manually.I'm currently using something like this:
This could be easily turned into a
Show
instance or a handful of manual showing functions. HavingShow
would be easier to use, but lacks a correspondingRead
instance. Some kind ofpreview
that only shows a limited number of rows might also be useful.If you want, I can prepare a pull request.