haskell / haskell/pretty

Use `Semigroup((<>))` and define Monoid/Semigroup instances

Open
#30 11 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
75
Forks
32
PR merge metrics
No merged PRs in 30d

Description

Ideally this needs to happen in time for GHC 8.0 as `pretty` is bundled with GHC 8

See https://github.com/ekmett/ansi-wl-pprint/commit/dd40c6138e1a4ca948d8045182d25f30a8682c4d for how the `(<>)` part can be handled

The Semigroup part is a bit tricky but doable as well. I'll probably prepare a PR as that's easier than to explain how to do it =)

/cc @ekmett

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.