File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
src/FSharp.Control.AsyncSeq Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -38,14 +38,6 @@ and private AsyncSeqSrcNode<'a> =
3838[<AutoOpen>]
3939module internal Utils =
4040
41- [<RequireQualifiedAccess>]
42- module Choice =
43-
44- /// Maps over the left result type.
45- let mapl ( f : 'T -> 'U ) = function
46- | Choice1Of2 a -> f a |> Choice1Of2
47- | Choice2Of2 e -> Choice2Of2 e
48-
4941 module Disposable =
5042
5143 let empty : IDisposable =
@@ -295,10 +287,6 @@ type AsyncSeqOp<'T> () =
295287 abstract member FoldAsync : ( 'S -> 'T -> Async < 'S >) -> 'S -> Async < 'S >
296288 abstract member MapAsync : ( 'T -> Async < 'U >) -> AsyncSeq < 'U >
297289 abstract member IterAsync : ( 'T -> Async < unit >) -> Async < unit >
298- default x.MapAsync ( f : 'T -> Async < 'U >) : AsyncSeq < 'U > =
299- x.ChooseAsync ( f >> Async.map Some)
300- default x.IterAsync ( f : 'T -> Async < unit >) : Async < unit > =
301- x.FoldAsync ( fun () t -> f t) ()
302290
303291[<AutoOpen>]
304292module AsyncSeqOp =
You can’t perform that action at this time.
0 commit comments