0
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 […]
>> Read the full article on onor.io
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us
Built with WebSharper