0
comment
comment
on 8/12/2013 10:54 AM
The F# developer can use pattern matching syntax pretty much anywhere in F#. For example, consider the following list: let l = [1..25] If I want to get the last element of the list, I can do this with a little trivial pattern match: let lastElem::_ = l |> List.rev;; stdin(7,5): warning FS0025: Incomplete pattern […]