Skip to content

Commit a75149f

Browse files
authored
Update AsyncSeq.fsx
1 parent e4ef2e0 commit a75149f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/AsyncSeq.fsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ type Tweet = {
6767
message : string
6868
}
6969

70-
let getTweetBatch (offset:int) : Async<(Tweet[] * int) option> =
70+
let getTweetBatch (offset: int) : Async<(Tweet[] * int) option> =
7171
failwith "TODO: call Twitter API"
7272

7373
let tweetBatches : AsyncSeq<Tweet[]> =
@@ -81,7 +81,7 @@ whether a particular tweet is of interest and should be stored in the database.
8181
type `Tweet -> Async<bool>`. We can flatten the `tweetBatches` sequence and then filter it as follows:
8282
*)
8383

84-
let filterTweet (t:Tweet) : Async<bool> =
84+
let filterTweet (t: Tweet) : Async<bool> =
8585
failwith "TODO: call web service"
8686

8787
let filteredTweets : AsyncSeq<Tweet> =
@@ -97,7 +97,7 @@ Finally, the function which stores a tweet in the database can be modeled by typ
9797
We can store all filtered tweets as follows:
9898
*)
9999

100-
let storeTweet (t:Tweet) : Async<unit> =
100+
let storeTweet (t: Tweet) : Async<unit> =
101101
failwith "TODO: call database"
102102

103103
let storeFilteredTweets : Async<unit> =

0 commit comments

Comments
 (0)