mirror of
https://github.com/Smaug123/WoofWare.Myriad
synced 2025-10-05 20:18:43 +00:00
1dde7a65f7738cde6ab07740d97b42ac160bb1c1
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.)
Languages
F#
99.8%
Nix
0.2%