-
Unison's syntax is just used for parsing and pretty-printing of definitions, but the actual definitions are stored in the codebase as their AST. This means we could support multiple syntaxes for the l…
-
This blob could use some documentation:
https://github.com/quchen/prettyprinter/blob/111ce3780eef8c96dadebc9e443a0ea3c13a3528/prettyprinter/src/Data/Text/Prettyprint/Doc/Internal.hs#L1824-L1830
…
-
1. I would like to use the ideas from https://homepages.inf.ed.ac.uk/wadler/papers/prettier/prettier.pdf implemented in Lean as Format type.
2. I would like to follow the idea of codecs from https:…
-
In https://github.com/quchen/prettyprinter/pull/116#issuecomment-577204724 I shared a profile from a `prettyprinter`-heavy `dhall` task. Multiple functions from `prettyprinter` and `prettyprinter-ansi…
-
Invalid XML character in cms metadata API response causes failure in parsing
Example response :
```
4743558
15…
-
How do I construct a document that renders as
```
abcd
efgh
```
when the page is wide enough, or alternatively as
```
ab
cd
ef
gh
```
?
Using the public API I would try this:
…
-
Consider the following FIRRTL Dialect:
```mlir
firrtl.circuit "Foo" {
firrtl.module @Foo(in %clock: !firrtl.clock, in %a: !firrtl.uint, out %b: !firrtl.uint) {
%c1_ui1 = firrtl.constant 1 …
-
The current naming system where modules and functions have the same name makes it tricky to import the modules because functions always take precedence. This has led to at least two StackOverflow que…
-
Currently, the code is not well structured. Everything is in `Text.FliPpr.Internal`, making it hard to figure out what the surface system is and what the background system is. So, it is good to organi…
-
Prettyprinter does not work on Windows when printing a special character
```
ghci> import Prettyprinter
ghci> pretty "hello"
hello
ghci> pretty "hello λ"
hello *** Exception: : hPutChar: inval…