feat: Array.toReadOnlyCollection
This commit is contained in:
parent
68b182b40b
commit
1c200a9fca
|
@ -1,6 +1,10 @@
|
|||
namespace FruityFoundation.FsBase
|
||||
open System.Collections.Generic
|
||||
open FruityFoundation.Base.Structures
|
||||
|
||||
module Array =
|
||||
let toReadOnlyCollection (a : 'a array) = a :> 'a IReadOnlyCollection
|
||||
|
||||
module Option =
|
||||
let toMaybe : 'a option -> Maybe<'a> = function
|
||||
| Some x -> x |> Maybe.Just
|
||||
|
|
Loading…
Reference in New Issue
Block a user