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
It would be nice not to have to expand the redundancy in the arguments in
the usage description, but I'm not sure when or how that should be done.
@ndmitchell replied:It's possible it should just infer --optionx and --path, so the nesting is for the
author of CmdArgs, not the user. Anyway, something should be done.
The text was updated successfully, but these errors were encountered:
I just encountered this problem, my different modes have overlapping record key names, and in order to make the code a little cleaner and avoid fName, dName, I separated my modes to different files so I could have F.name and D.name. But then I realized I won't be able to create a Sum Type over those without wrapping them in another constructor.
This is what it looks like right now:
From http://code.google.com/p/ndmitchell/issues/detail?id=291:
@aavogt says: cmdargs should support nested records:
It should be possible to use:
Which would infer flags including:
It would be nice not to have to expand the redundancy in the arguments in
the usage description, but I'm not sure when or how that should be done.
@ndmitchell replied:It's possible it should just infer --optionx and --path, so the nesting is for the
author of CmdArgs, not the user. Anyway, something should be done.
The text was updated successfully, but these errors were encountered: