[Haskell-cafe] Prettier pretty-printing of data types?
rrnewton at gmail.com
Sat Mar 17 13:55:01 CET 2012
I've got a question that pertains to any of these identify-region, parse,
The main use I'd like to use the trick for (esp. Chris's Emacs version) is
to deal with large intermediate compiler ASTs.
But if a compiler produces a long stream of output to stdout, with certain
Show-produced ASTs embedded in it, what's the most expedient way to
identify those regions that can be collapsed in the buffer and
- The user could define heuristics for identifying those regions in a
particular stream of output
- If the source is available, the compiler could be tweaked to obey a
protocol, putting delimiters around collapsable output (possibly
non-printing control sequences??)
Or is there another hack I'm not thinking of? What's easiest?
On Wed, Mar 14, 2012 at 5:01 AM, Heinrich Apfelmus <
apfelmus at quantentunnel.de> wrote:
> Christopher Done wrote:
>> Maybe an Emacs script to expand the nodes nicely:
>> http://www.youtube.com/watch?**v=6ofEZQ7XoEA<http://www.youtube.com/watch?v=6ofEZQ7XoEA>I don't find mere pretty
>> printing that useful compared to the “expanding” paradigm I'm used to in
>> Chrome and Firebug.
> Great demo video. My recent GSoC project suggestions aims to make that
> available to non-Emacsers, via the web browser.
> Best regards,
> Heinrich Apfelmus
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe