Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
clay Clay No documentation available.
JustifyContentValue :: Value -> JustifyContentValueclay Clay No documentation available.
-
clay Clay.Flexbox No documentation available.
JustifyContentValue :: Value -> JustifyContentValueclay Clay.Flexbox No documentation available.
-
folds Data.Fold.Internal No documentation available.
module Text.Layout.Table.
Justify Produce justified text, which is spread over multiple rows. For a simple cut, chunksOf from the split package is best suited.
justifyLeft :: Int -> Char -> Text -> Texttext Data.Text O(n) Left-justify a string to the given length, using the specified fill character on the right. Performs replacement on invalid scalar values. Examples:
>>> justifyLeft 7 'x' "foo" "fooxxxx"
>>> justifyLeft 3 'x' "foobar" "foobar"
justifyRight :: Int -> Char -> Text -> Texttext Data.Text O(n) Right-justify a string to the given length, using the specified fill character on the left. Performs replacement on invalid scalar values. Examples:
>>> justifyRight 7 'x' "bar" "xxxxbar"
>>> justifyRight 3 'x' "foobar" "foobar"
justifyLeftI :: Integral a => a -> Char -> Stream Char -> Stream Chartext Data.Text.Internal.Fusion.Common No documentation available.
justifyLeft :: Int64 -> Char -> Text -> Texttext Data.Text.Lazy O(n) Left-justify a string to the given length, using the specified fill character on the right. Performs replacement on invalid scalar values. Examples:
justifyLeft 7 'x' "foo" == "fooxxxx" justifyLeft 3 'x' "foobar" == "foobar"