mirror of
https://github.com/Smaug123/WoofWare.Myriad
synced 2025-10-12 15:38:42 +00:00
620 B
620 B
fsharp-arguments
Some helpers in Myriad which might be useful for someone writing an argument parser.
RemoveOptions
Takes a record like this:
type Foo =
{
A : int option
B : string
C : float list
}
and stamps out a record like this:
[<RequireQualifiedAccess>]
module Foo =
type Short =
{
A : int
B : string
C : float list
}
(This is a proof of concept. It would be better to somehow disambiguate the module name.)