Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/FSharp.Control.TaskSeq.sln.DotSettings
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/UserDictionary/Words/=infinitum/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=iteri/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=taskseqs/@EntryIndexedValue">True</s:Boolean>
</wpf:ResourceDictionary>
8 changes: 3 additions & 5 deletions src/FSharp.Control.TaskSeq/TaskSeq.fs
Original file line number Diff line number Diff line change
Expand Up @@ -320,15 +320,15 @@ type TaskSeq private () =

static member exists predicate source =
Internal.tryFind (Predicate predicate) source
|> Task.map (Option.isSome)
|> Task.map Option.isSome

static member existsAsync predicate source =
Internal.tryFind (PredicateAsync predicate) source
|> Task.map (Option.isSome)
|> Task.map Option.isSome

static member contains value source =
Internal.tryFind (Predicate((=) value)) source
|> Task.map (Option.isSome)
|> Task.map Option.isSome

static member pick chooser source =
Internal.tryPick (TryPick chooser) source
Expand All @@ -354,8 +354,6 @@ type TaskSeq private () =
Internal.tryFindIndex (PredicateAsync predicate) source
|> Task.map (Option.defaultWith Internal.raiseNotFound)



//
// zip/unzip/fold etc functions
//
Expand Down
Loading