Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Justification functions #85

Open
safareli opened this issue Jul 7, 2017 · 1 comment
Open

Add Justification functions #85

safareli opened this issue Jul 7, 2017 · 1 comment
Labels
type: enhancement A new feature or addition.

Comments

@safareli
Copy link
Contributor

safareli commented Jul 7, 2017

https://www.stackage.org/haddock/lts-8.21/text-1.2.2.1/Data-Text.html#g:9

justifyRight :: Int -> Char -> String -> String
justifyLeft :: Int -> Char -> String -> String
center :: Int -> Char -> String -> String

Let me know if it's desired addition 🎈

@hdgarrood
Copy link
Contributor

I'd be in favour. At the same time we should also add codepoint-based versions e.g. justifyRight :: Int -> CodePoint -> String -> String to Data.String.CodePoints.

@JordanMartinez JordanMartinez added the type: enhancement A new feature or addition. label Dec 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A new feature or addition.
Projects
None yet
Development

No branches or pull requests

3 participants