Add Justification functions · Issue #85 · purescript/purescript-strings · GitHub
Skip to content

Add Justification functions #85

Open

Description

@safareli

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 🎈

Activity

  1. hdgarrood commented on Aug 6, 2017

    @hdgarrood
    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions