You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
static member inlineTraverse(t:^a,f,[<Optional>]_output:'R,[<Optional>]_impl:Default1):'R =
76
80
#if TEST_TRACE
@@ -186,26 +190,26 @@ type Sequence with
186
190
Seq.foldBack cons_f t (result Seq.empty)
187
191
188
192
static member inlineSequence(t:seq<'``Applicative<'T>``>,[<Optional>]_output:'``Applicative<seq<'T>>`` ,[<Optional>]_impl:Default4):'``Applicative<seq<'T>>`` =
static memberSequence(t:NonEmptySeq<Async<'t>>,[<Optional>]_output:Async<NonEmptySeq<'t>>,[<Optional>]_impl:Default3)= Async.SequentialLazy t |> Async.map NonEmptySeq.unsafeOfSeq : Async<NonEmptySeq<'t>>
211
215
#endif
@@ -217,7 +221,7 @@ type Sequence with
217
221
#if!FABLE_COMPILER
218
222
static member inlineSequence(t:voption<_>,[<Optional>]_output:'R,[<Optional>]_impl:Sequence):'R =match t with ValueSome x -> Map.Invoke ValueSome x |_-> result ValueNone
219
223
#endif
220
-
static member inlineSequence(t:list<_>,[<Optional>]_output:'R,[<Optional>]_impl:Sequence):'R = Sequence.ForInfiniteSequences(t, IsLeftZero.Invoke, id)
224
+
static member inlineSequence(t:list<_>,[<Optional>]_output:'R,[<Optional>]_impl:Sequence):'R = Sequence.ForInfiniteSequences(t, IsLeftZero.Invoke, id, Return.Invoke)
221
225
222
226
static member inlineSequence(t:Map<_,_>,[<Optional>]_output:'R,[<Optional>]_impl:Sequence):'R =
223
227
letinsert_f k x ys = Map.Invoke (Map.add k) x <*> ys
@@ -233,7 +237,7 @@ type Sequence with
233
237
| Choice1Of2 a -> Map.Invoke Choice<'T,'Error>.Choice1Of2 a
234
238
| Choice2Of2 e -> Return.Invoke (Choice<'T,'Error>.Choice2Of2 e)
235
239
236
-
static member inlineSequence(t:_ [],[<Optional>]_output:'R ,[<Optional>]_impl:Sequence):'R = Sequence.ForInfiniteSequences(t, IsLeftZero.Invoke, Array.ofList)
240
+
static member inlineSequence(t:_ [],[<Optional>]_output:'R ,[<Optional>]_impl:Sequence):'R = Sequence.ForInfiniteSequences(t, IsLeftZero.Invoke, Array.ofList, Return.Invoke)
237
241
238
242
static member inlineSequence(t:Id<'``Functor<'T>``>,[<Optional>]_output:'``Functor<Id<'T>>`` ,[<Optional>]_impl:Sequence):'``Functor<Id<'T>>`` = Traverse.Invoke id t
CollectionAssert.AreEquivalent ((Async.AsTaskAndWait t123).Exception.InnerExceptions,(Async.AsTaskAndWait t123').Exception.InnerExceptions,"Async.map3 (fun x y z -> [x; y; z]) t1 t2 t3 is the same as transpose [t1; t2; t3]")
108
108
CollectionAssert.AreNotEquivalent ((Async.AsTaskAndWait t123).Exception.InnerExceptions,(Async.AsTaskAndWait t123'').Exception.InnerExceptions,"Async.map3 (fun x y z -> [x; y; z]) t1 t2 t3 is not the same as sequence [t1; t2; t3]")
0 commit comments