Skip to content

Instantly share code, notes, and snippets.

@aph5nt aph5nt/fs
Last active Nov 7, 2015

What would you like to do?
let filter (game : Game) = game.Status = GameStatus.Refunded || game.Status = GameStatus.Completed
|> toSeq
|> Seq.filter(fun(k,v) -> filter v)
|>,v) -> v)
|> Seq.sortByDescending(fun(v) -> v.DrawingAt)
|> (fun(v) -> toPreviousGame v)
|> Seq.toArray
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.