Skip to content

Add formatter for strict text #9

@dagit

Description

@dagit

The first function I wrote to use text-format was this:

-- | A wrapper around `format` that returns a strict Text
sformat :: Params ps => Format -> ps -> Text
sformat f ps = toStrict (format f ps)

Perhaps that should be included in the library itself? (And the name format' might be more intuitive to folks).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions