Actually there's no such restriction

1
 match arr with | _ when arr.Length > 10 -> arr |> List.of_array | _ -> []

which can be treated as

1
 if arr.Length > 10 then arr |> List.of_array else []
By on 4/13/2009 6:43 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper