HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulesydtest-0.22.0.0Haskell2010

Test.Syd.Output

  • 45 values
  • Packagesydtest-0.22.0.0
  • Exports45
  • LanguageHaskell2010
  • LicenceLicenseRef-OtherLicense
  • SourceOutput.hs
valuesplitChunksIntoLines :: [Chunk] -> [[Chunk]]
#

Split a list of Chunks into lines of [Chunks].

This is rather complicated because chunks may contain newlines, in which case they need to be split into two chunks on separate lines but with the same colour information. However, separate chunks are not necessarily on separate lines because there may not be a newline inbetween.