darcs

Issue 2728 replace our home-grown pretty printer with a library from hackage

Title replace our home-grown pretty printer with a library from hackage
Priority Status unknown
Milestone Resolved in
Superseder Nosy List bfrk
Assigned To
Topics

Created on 2024-06-29.13:12:21 by bfrk, last changed 2024-06-29.13:12:21 by bfrk.

Messages
msg24059 (view) Author: bfrk Date: 2024-06-29.13:12:21
Initially I thought that the 'prettyprinter' package could serve that 
purpose. But their 'emptyDoc' is not a unit for vertical composition, which 
is something we pretty much rely on (IIRC). We also do not need rendering 
based on document width etc. However, I do like their SimpleDocStream type, 
not least because the 'terminal' package provides a backend to render it to 
a terminal with colors etc. So perhaps we could re-write our 
Darcs.Util.Printer to create a SimpleDocStream.
History
Date User Action Args
2024-06-29 13:12:21bfrkcreate