Skip to content

Commit 1040d51

Browse files
author
Jamil Maqdis Anton
committed
Add helper functions for Async computations
1 parent ece9865 commit 1040d51

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/AsyncExtras.fs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module Async
2+
3+
let bind f m = async.Bind(m, f)
4+
5+
let map f m = m |> bind (f >> async.Return)

0 commit comments

Comments
 (0)