Closed tomjaguarpaw closed 2 years ago
I was rather puzzled by these Haddock lines until I read the CHANGELOG and it was clear that it means "one or the other, depending on what fits". Could we please either
Thanks
https://github.com/haskell/pretty/blob/e646037d433fd26374cbaa555ab79cc9569ff40c/src/Text/PrettyPrint/Annotated/HughesPJ.hs#L723
https://github.com/haskell/pretty/blob/e646037d433fd26374cbaa555ab79cc9569ff40c/src/Text/PrettyPrint/Annotated/HughesPJ.hs#L727
https://github.com/haskell/pretty/blob/e646037d433fd26374cbaa555ab79cc9569ff40c/src/Text/PrettyPrint/HughesPJ.hs#L390
https://github.com/haskell/pretty/blob/e646037d433fd26374cbaa555ab79cc9569ff40c/src/Text/PrettyPrint/HughesPJ.hs#L395
fsep and fcat are confusing as well. Does anyone know what "Paragraph fill" mean in this context?
fsep
fcat
"Paragraph fill" version of sep.
"Paragraph fill" version of cat.
I was rather puzzled by these Haddock lines until I read the CHANGELOG and it was clear that it means "one or the other, depending on what fits". Could we please either
Thanks
https://github.com/haskell/pretty/blob/e646037d433fd26374cbaa555ab79cc9569ff40c/src/Text/PrettyPrint/Annotated/HughesPJ.hs#L723
https://github.com/haskell/pretty/blob/e646037d433fd26374cbaa555ab79cc9569ff40c/src/Text/PrettyPrint/Annotated/HughesPJ.hs#L727
https://github.com/haskell/pretty/blob/e646037d433fd26374cbaa555ab79cc9569ff40c/src/Text/PrettyPrint/HughesPJ.hs#L390
https://github.com/haskell/pretty/blob/e646037d433fd26374cbaa555ab79cc9569ff40c/src/Text/PrettyPrint/HughesPJ.hs#L395