@@ -24,14 +24,16 @@ type Empty =
2424 static member Empty ( [<Optional>] _output : option < 'T > , [<Optional>] _mthd : Empty ) = None : option< 'T>
2525 static member Empty ( [<Optional>] _output : voption < 'T > , [<Optional>] _mthd : Empty ) = ValueNone : voption< 'T>
2626 static member Empty ( [<Optional>] _output : list < 'T > , [<Optional>] _mthd : Empty ) = [ ] : list< 'T>
27- static member Empty ( [<Optional>] _output : 'T [] , [<Optional>] _mthd : Empty ) = [||] : 'T []
27+ static member Empty ( [<Optional>] _output : 'T [] , [<Optional>] _mthd : Empty ) = [||] : 'T []
2828
2929 static member inline Invoke () : '``Alternative < 'T > `` =
3030 let inline call ( mthd : ^M , output : ^R ) = (( ^M or ^R ) : ( static member Empty : _*_ -> _) output, mthd)
3131 call ( Unchecked.defaultof< Empty>, Unchecked.defaultof< '`` Alternative<'T> `` > )
3232
3333 static member inline InvokeOnInstance () : '``Alternative < 'T > `` = (^ `` Alternative<'T> `` : ( static member Empty : ^ `` Alternative<'T> `` ) ()) : '`` Alternative<'T> ``
3434
35+ type Empty with
36+ static member inline Empty ( [<Optional>] _output : 'R -> '``Alternative < 'T > ``, [<Optional>] _mthd : Empty ) = ( fun _ -> Empty.Invoke ()) : 'R -> '`` Alternative<'T> ``
3537
3638type Append =
3739 inherit Default1
@@ -53,6 +55,8 @@ type Append =
5355 let inline call ( mthd : ^M , input1 : ^I , input2 : ^I ) = (( ^M or ^I ) : ( static member ``<|> `` : _ * _ * _ -> _ ) input1 , input2 , mthd )
5456 call ( Unchecked.defaultof<Append> , x , y )
5557
58+ type Append with
59+ static member inline ``<|> `` ( x : 'R -> '``Alt < 'T > `` , y , [<Optional>] _mthd : Append ) = fun r -> Append.Invoke ( x r) ( y r)
5660
5761
5862type IsAltLeftZero =
0 commit comments