using FruityFoundation.Base.Structures; using Microsoft.FSharp.Core; namespace FruityFoundation.Base.Extensions; public static class FSharpExtensions { public static Maybe ToMaybe(this FSharpOption option) => FSharpOption.get_IsSome(option) ? Maybe.Create(option.Value) : Maybe.Empty(); }