Haskell-Things / ImplicitCAD

A math-inspired CAD program in haskell. CSG, bevels, and shells; 2D & 3D geometry; 2D gcode generation...
https://implicitcad.org/
GNU Affero General Public License v3.0
1.32k stars 140 forks source link

Implement better pretty printer for `Haskell` code #456

Open sorki opened 9 months ago

sorki commented 9 months ago

Using for example prettyprinter library

The current output could be improved with indentation and better handling of Double output and could serve as a basis for formatter (e.g. implicit format subcommand).

sorki commented 9 months ago

Would also enable colors in terminal output!