[Haskell-cafe] Prettier pretty-printing of data types?

dag.odenhall at gmail.com dag.odenhall at gmail.com
Sat Mar 17 16:56:12 CET 2012


On 17 March 2012 14:10, Brandon Allbery <allbery.b at gmail.com> wrote:
> On Sat, Mar 17, 2012 at 08:55, Ryan Newton <rrnewton at gmail.com> wrote:
>>
>> If the source is available, the compiler could be tweaked to obey a
>> protocol, putting delimiters around collapsable output (possibly
>> non-printing control sequences??)
>
>
> I believe both emacs and vim have folding submodes which operate based on
> comments containing {{{ / }}} to bracket foldable regions.

It's also easy in vim (and probably emacs too) to create folds from
syntax, which would work well with pretty-show's output.



More information about the Haskell-Cafe mailing list