dimitriv / Ziria

A domain-specific-language and compiler for low-level bitstream processing.
92 stars 18 forks source link

Eliminate Text.PrettyPrint.Mainland #63

Closed edsko closed 9 years ago

edsko commented 9 years ago

Currently we use Text.PrettyPrint.HughesPJ for some stuff and Text.PrettyPrint.Mainland for some other stuff. This is confusing and since the two libraries are not compatible (both introduce their own Doc type) it's also inconvenient.

dimitriv commented 9 years ago

Done that. Text.PrettyPrint.Mainland is now only used for printing C declarations from Language.C.Quote in Main.hs. The rest of the compiler consistently uses HughesPJ. Relevant commit is 0041bdaec31c1db8cad9