haskell / haskell/text-format

Add formatter for strict text

Open
#9 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
34
Forks
25
PR merge metrics
No merged PRs in 30d

Description

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).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.