Gabriella439 / Gabriella439/optparse-generic

Options with newtypes

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

Description

How does one provide for using newtypes as option record types?

Currently the failure mentions missing `ParseFields` instance, but when one tries to provide a hand-written one, along the lines of the existing `ParseField` instances, one faces the fact that `parseString` is not exported.

Are there plans to automate instances for newtypes? Or to document how to define `ParseFields` instances for own types?

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.