Skip to content
Snippets Groups Projects
Unverified Commit 8aad429e authored by fendor's avatar fendor Committed by GitHub
Browse files

Fix and improve list parser of cabal init cli (#8663)


* Fix cli list parse errors in `cabal init`

Occurrences of `Flag [a]` behave in a slightly unexpected way. The monoid
instance of `Flag` is right associative and discard the value on the
left.
Thus, make sure we merge the contents of the flags, instead of using the
monoid instance of `Flag` itself.

* Document fixes and improvements

Co-authored-by: default avatarmergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent 6fb48c7e
No related branches found
No related tags found
No related merge requests found
Pipeline #61953 failed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment