Skip to content

Commit 5b1a1eb

Browse files
committed
rename AsyncSeq.apply to AsyncSeq.zapp
1 parent 3c4a28c commit 5b1a1eb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/FSharpx.Async/AsyncSeq.fs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -465,11 +465,11 @@ module AsyncSeq =
465465
threadStateAsync (fun i a -> f i a |> Async.map (fun b -> b,i + 1)) 0 s
466466

467467
/// Feeds an async sequence of values into an async sequence of async functions.
468-
let inline applyAsync (fs:AsyncSeq<'a -> Async<'b>>) (s:AsyncSeq<'a>) : AsyncSeq<'b> =
468+
let inline zappAsync (fs:AsyncSeq<'a -> Async<'b>>) (s:AsyncSeq<'a>) : AsyncSeq<'b> =
469469
zipWithAsync ((|>)) s fs
470470

471471
/// Feeds an async sequence of values into an async sequence of functions.
472-
let inline apply (fs:AsyncSeq<'a -> 'b>) (s:AsyncSeq<'a>) : AsyncSeq<'b> =
472+
let inline zapp (fs:AsyncSeq<'a -> 'b>) (s:AsyncSeq<'a>) : AsyncSeq<'b> =
473473
zipWith ((|>)) s fs
474474

475475
/// Returns an async computation which iterates the async sequence for
@@ -485,7 +485,7 @@ module AsyncSeq =
485485
let! flag = c.AsyncResult
486486
if flag then yield! sink()
487487
else () }
488-
applyAsync (sink()) s |> runAsync
488+
zappAsync (sink()) s |> runAsync
489489

490490
/// Returns elements from an asynchronous sequence while the specified
491491
/// predicate holds. The predicate is evaluated asynchronously.

0 commit comments

Comments
 (0)