~jaro/balkon

ref: 6f1c8c854dd9ce0f6fbc19c4200fa6a58bcb93d5 balkon/src/Data/Text/ParagraphLayout/Internal/TextContainer.hs -rw-r--r-- 5.4 KiB
Remove collapsible spaces at beginning of lines.
Allow empty lines when hard line breaking.
Refactor line breaking.
Implement trimming spaces at end of lines.
Add dropWhileEnd to SeparableTextContainer.
Add trivial instances of text containers.
Slightly decompose the Plain module.
Update documentation and derived instances.
Move non-public modules into Internal namespace.
Remove unnecessary default implementation.
Remove I8/Int distinction.

The distinction was meant to provide additional type safety, but
inconsistency with other used libraries required too many workarounds
for this to be beneficial.
Define SeparableTextContainer as its own class.
Minimise working with Data.Text.Internal.
Implement run splitting.