Skip to content

Commit

Permalink
Merge pull request #2 from ivan-m/master
Browse files Browse the repository at this point in the history
Update to split 0.2.*
  • Loading branch information
Eelis committed Oct 30, 2012
2 parents 3c2616c + 61cfe3a commit 71b075e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Text/PrettyPrint/Boxes.hs
Expand Up @@ -212,7 +212,7 @@ para a n t = (\ss -> mkParaBox a (length ss) ss) $ flow n t
-- at most @h@, containing text @t@ flowed into as many columns as
-- necessary.
columns :: Alignment -> Int -> Int -> String -> [Box]
columns a w h t = map (mkParaBox a h) . chunk h $ flow w t
columns a w h t = map (mkParaBox a h) . chunksOf h $ flow w t

-- | @mkParaBox a n s@ makes a box of height @n@ with the text @s@
-- aligned according to @a@.
Expand Down
2 changes: 1 addition & 1 deletion boxes.cabal
Expand Up @@ -13,7 +13,7 @@ build-type: Simple
cabal-version: >= 1.6

library
build-depends: base >= 3 && < 5, split >=0.1 && <0.2
build-depends: base >= 3 && < 5, split >=0.2 && <0.3
exposed-modules: Text.PrettyPrint.Boxes

source-repository head
Expand Down

0 comments on commit 71b075e

Please sign in to comment.