Does Haskell have a library that does the same as OCaml ( Format Library )? Or, what is the easiest way to print beautiful abstract syntax trees in Haskell?
Thanks.
I really enjoy using wl-pprint . This gives you flexibility in a very elegant code. See here for good documentation.
Is Text.PrettyPrint what you are looking for?
http://www.haskell.org/haskellwiki/Applications_and_libraries/Compiler_tools#Pretty_printing
Text.Printf , I think.
Source: https://habr.com/ru/post/1332694/More articles:facebook connect for iOS authentication question application id and secret - authenticationRepeater or similar for Windows Phone 7 - windows-phone-7MySQL Workaround Error 1093 - sqlAmbiguous Grammar? - grammarFailed to compile Hplip-3.10.9 - installerHow to specify my compiler and linker in Eclipse and Windows? - compiler-constructionScala filter tuple list - listInversion of control (introduction of IoC / dependencies) for dummies - c #Passing table row identifiers - javascriptWhy can't we create virtualization that runs on multiple machines? - virtualizationAll Articles