Skip to content

Commit 7a57557

Browse files
authored
Correct doc
1 parent bffed59 commit 7a57557

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docsrc/content/type-seqt.fsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ type System.Net.WebClient with member wc.AsyncDownloadString (uri: System.Uri) =
1313
SeqT<Monad<bool>, 'T>
1414
=====================
1515
16-
This is the the Monad Transformer for `seq<'T>` so it adds sequencing to existing monads by composing then with `seq<'T>`.
16+
This is the the Monad Transformer for `seq<'T>` so it adds sequencing to existing monads by composing them with `seq<'T>`.
1717
1818
Any monad can be composed, but a very typical usage is when combined with `Async` or `Task`, which gives rise to what's called async sequences.
1919
@@ -34,7 +34,7 @@ body #fsdocs-content table code { word-break: normal; }
3434
|`asyncSeq { .. }` |`monad.plus { .. }` | At some point it needs to be inferred as `SeqT<Async<bool>, 'T>`, or it can be specified with type parameters: `monad<SeqT<Async<bool>, 'T>>.plus` |
3535
|`let! x = y` |`let! x = SeqT.lift y` | No auto lifting. Lifting should be explicit. |
3636
|`do! x` |`do! SeqT.lift x` | '' |
37-
|`for x in s` |`let! x = s` | When `s: AsyncSeq<'T>` otherwise `for` is still ok with regular sequences. |
37+
|`for x in s` |`let! x = s` | When `s: SeqT` otherwise `for` is still ok with regular sequences. |
3838
|`AsyncSeq.[function]` |`SeqT.[function]` | See differences in functions below. |
3939
|`AsyncSeq.[function]Async` |`SeqT.[function]M` | '' |
4040
|`AsyncSeq.skip` |`SeqT.drop` | `.skip` is available but consistently with F# collections, it throws when the sequence doesn't have enough elements. |
@@ -162,4 +162,4 @@ randomCrawl "https://en.wikipedia.org/wiki/Main_Page"
162162
|> SeqT.map snd
163163
|> SeqT.take 10
164164
|> SeqT.iter (printfn "%s")
165-
|> Async.Start
165+
|> Async.Start

0 commit comments

Comments
 (0)