sydtest-0.13.0.4: A modern testing framework for Haskell with good defaults and advanced testing features.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Syd.Output

Synopsis

Documentation

splitChunksIntoLines :: [Chunk] -> [[Chunk]] Source #

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.

indexed :: [a] -> (Word -> a -> b) -> [b] Source #