Skip to content

Commit

Permalink
Update to split-0.2.*
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-m committed Oct 28, 2012
1 parent 3c2616c commit 61cfe3a
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 61cfe3a

Please sign in to comment.