Skip to content

Instantly share code, notes, and snippets.

@rodrigovidal
Created December 23, 2010 07:43
Show Gist options
  • Save rodrigovidal/752710 to your computer and use it in GitHub Desktop.
Save rodrigovidal/752710 to your computer and use it in GitHub Desktop.
Duvida no grupo FSharp Brasil http://groups.google.com/group/fsharp-brasil
let lista = [1..10] |> List.filter(fun x -> x % 2 = 0)
match lista with
| [] -> printfn "Lista vazia"
| _ -> printfn "Head = %i" y.Head
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment