ekmett / ekmett/wl-pprint-extras

Provide choice function or add documentation to flatAlt

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

Description

As per [this](http://stackoverflow.com/a/28440998/52310) Stack Overflow answer.

It is sometimes useful to have more than 2 alternative renderings, with the widest one preferred if it fits. This is achievable using `group` and `flatAlt`, but this is not immediately apparent.

Contributor guide

No contributing guide indexed for this repository

Research direction

Read the flatAlt API and the linked Stack Overflow answer first. Determine whether the project should expose a choice function or document the existing group and flatAlt combination; done means the selected approach clearly supports multiple alternative renderings with the widest fitting option preferred.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.