Skip to content

Instantly share code, notes, and snippets.

@palladin
Created October 20, 2015 10:00
Show Gist options
  • Save palladin/6c5bb125160984ca67e8 to your computer and use it in GitHub Desktop.
Save palladin/6c5bb125160984ca67e8 to your computer and use it in GitHub Desktop.
CloudFlow.partition
let partition : CloudFlow<'T> -> ('T -> bool) -> (CloudFlow<'T> * CloudFlow<'T>) = fun flow f ->
(flow |> CloudFlow.filter f), (flow |> CloudFlow.filter (fun x -> not (f x)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment