Skip to content

Commit 7222429

Browse files
committed
non- consistency
1 parent e5a128c commit 7222429

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/FSharp.Control.TaskSeq/TaskSeq.fsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ type TaskSeq =
274274
static member append: source1: TaskSeq<'T> -> source2: TaskSeq<'T> -> TaskSeq<'T>
275275

276276
/// <summary>
277-
/// Concatenates a task sequence <paramref name="source1" /> with a non-async F# <see cref="seq" /> in <paramref name="source2" />
277+
/// Concatenates a task sequence <paramref name="source1" /> with a (non-async) F# <see cref="seq" /> in <paramref name="source2" />
278278
/// and returns a single task sequence.
279279
/// </summary>
280280
///
@@ -285,7 +285,7 @@ type TaskSeq =
285285
static member appendSeq: source1: TaskSeq<'T> -> source2: seq<'T> -> TaskSeq<'T>
286286

287287
/// <summary>
288-
/// Concatenates a non-async F# <see cref="seq" /> in <paramref name="source1" /> with a task sequence in <paramref name="source2" />
288+
/// Concatenates a (non-async) F# <see cref="seq" /> in <paramref name="source1" /> with a task sequence in <paramref name="source2" />
289289
/// and returns a single task sequence.
290290
/// </summary>
291291
///

src/FSharp.Control.TaskSeq/TaskSeqBuilder.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -525,9 +525,9 @@ module LowPriority =
525525
// and we need a way to distinguish these two methods.
526526
//
527527
// Types handled:
528-
// - ValueTask (non-generic, because it implements GetResult() -> unit)
528+
// - (non-generic) ValueTask (because it implements GetResult() -> unit)
529529
// - ValueTask<'T> (because it implements GetResult() -> 'TResult)
530-
// - Task (non-generic, because it implements GetResult() -> unit)
530+
// - (non-generic) Task (because it implements GetResult() -> unit)
531531
// - any other type that implements GetAwaiter()
532532
//
533533
// Not handled:

src/FSharp.Control.TaskSeq/Utils.fsi

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ module Task =
5656
/// Starts a running instance of an Async<'T>, represented as a Task<'T>
5757
val inline ofAsync: async: Async<'T> -> Task<'T>
5858

59-
/// Convert a unit-task into a Task<unit>
59+
/// Convert a non-generic Task into a Task<unit>
6060
val inline ofTask: task': Task -> Task<unit>
6161

62-
/// Convert a non-task function into a task-returning function
62+
/// Convert a plain function into a task-returning function
6363
val inline apply: func: ('a -> 'b) -> ('a -> Task<'b>)
6464

6565
/// Convert a Task<'T> into an Async<'T>
@@ -69,8 +69,8 @@ module Task =
6969
val inline toValueTask: task: Task<'T> -> ValueTask<'T>
7070

7171
/// <summary>
72-
/// Convert a ValueTask&lt;'T> to a Task&lt;'T>. To use a non-generic ValueTask,
73-
/// consider using: <paramref name="myValueTask |> Task.ofValueTask |> Task.ofTask" />.
72+
/// Convert a ValueTask&lt;'T> to a Task&lt;'T>. For a non-generic ValueTask,
73+
/// consider: <paramref name="myValueTask |> Task.ofValueTask |> Task.ofTask" />.
7474
/// </summary>
7575
val inline ofValueTask: valueTask: ValueTask<'T> -> Task<'T>
7676

@@ -88,7 +88,7 @@ module Async =
8888
/// Convert an Task<'T> into an Async<'T>
8989
val inline ofTask: task: Task<'T> -> Async<'T>
9090

91-
/// Convert a unit-task into an Async<unit>
91+
/// Convert a non-generic Task into an Async<unit>
9292
val inline ofUnitTask: task: Task -> Async<unit>
9393

9494
/// Starts a running instance of an Async<'T>, represented as a Task<'T>

0 commit comments

Comments
 (0)