Just -containers +text

justifyLeft :: Int -> Char -> Text -> Text
text Data.Text
O(n) Left-justify a string to the given length, using the specified fill character on the right. Subject to fusion. Performs replacement on invalid scalar values. Examples: > justifyLeft 7 'x' "foo" == "fooxxxx" > justifyLeft 3 'x' "foobar" == "foobar"
justifyLeft :: Int64 -> Char -> Text -> Text
text Data.Text.Lazy
O(n) Left-justify a string to the given length, using the specified fill character on the right. Subject to fusion. Performs replacement on invalid scalar values. Examples: > justifyLeft 7 'x' "foo" == "fooxxxx" > justifyLeft 3 'x' "foobar" == "foobar"
justifyRight :: Int -> Char -> Text -> Text
text 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"
justifyRight :: Int64 -> Char -> Text -> Text
text Data.Text.Lazy
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"