linebreak 1.0.0.1 → 1.0.0.2
raw patch · 2 files changed
+2/−2 lines, 2 files
Files
- Text/LineBreak.hs +1/−1
- linebreak.cabal +1/−1
Text/LineBreak.hs view
@@ -155,7 +155,7 @@ where hw = case mhy of Just hy -> hyphenate hy cs Nothing -> [cs]- poss = error $ show $ map cf $ reverse $ zip (inits hw) (tails hw)+ poss = show $ map cf $ reverse $ zip (inits hw) (tails hw) -- poss ~= ["hyphenation\n","hyphen-\nation", -- "hy-\nphenation","\nhyphenation"]
linebreak.cabal view
@@ -1,5 +1,5 @@ name: linebreak-version: 1.0.0.1+version: 1.0.0.2 synopsis: breaks strings to fit width description: Simple functions to break a String to fit a maximum text width, using Knuth-Liang hyphenation algorhitm.