You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm in the process of getting to know this library. It's quite nice so far, thanks for writing it!
I tried using Maybe (Maybe Int)
and I got:
No instance for (ParseField (Maybe Int))
arising from a use of ‘Options.Generic.$dmparseRecord’
• In the expression: Options.Generic.$dmparseRecord @MainOptions
I also thought to model this via:
dataOptFlagOptValuea=NoFlag
| Flag
| FlagValuea
But not sure how I could translate using the above data type into a clean API that supports the following:
$ command
$ command --flag
$ command --flag 123
Am I missing something? Or is this not supported (yet) perhaps?