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 =
77
81
#if TEST_TRACE
@@ -191,26 +195,26 @@ type Sequence with
191
195
Seq.foldBack cons_f t (result Seq.empty)
192
196
193
197
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>>
216
220
#endif
@@ -222,7 +226,7 @@ type Sequence with
222
226
#if!FABLE_COMPILER
223
227
static member inlineSequence(t:voption<_>,[<Optional>]_output:'R,[<Optional>]_impl:Sequence):'R =match t with ValueSome x -> Map.Invoke ValueSome x |_-> result ValueNone
224
228
#endif
225
-
static member inlineSequence(t:list<_>,[<Optional>]_output:'R,[<Optional>]_impl:Sequence):'R = Sequence.ForInfiniteSequences(t, IsLeftZero.Invoke, id)
229
+
static member inlineSequence(t:list<_>,[<Optional>]_output:'R,[<Optional>]_impl:Sequence):'R = Sequence.ForInfiniteSequences(t, IsLeftZero.Invoke, id, Return.Invoke)
226
230
227
231
static member inlineSequence(t:Map<_,_>,[<Optional>]_output:'R,[<Optional>]_impl:Sequence):'R =
228
232
letinsert_f k x ys = Map.Invoke (Map.add k) x <*> ys
@@ -238,7 +242,7 @@ type Sequence with
238
242
| Choice1Of2 a -> Map.Invoke Choice<'T,'Error>.Choice1Of2 a
239
243
| Choice2Of2 e -> Return.Invoke (Choice<'T,'Error>.Choice2Of2 e)
240
244
241
-
static member inlineSequence(t:_ [],[<Optional>]_output:'R ,[<Optional>]_impl:Sequence):'R = Sequence.ForInfiniteSequences(t, IsLeftZero.Invoke, Array.ofList)
245
+
static member inlineSequence(t:_ [],[<Optional>]_output:'R ,[<Optional>]_impl:Sequence):'R = Sequence.ForInfiniteSequences(t, IsLeftZero.Invoke, Array.ofList, Return.Invoke)
242
246
243
247
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