You could also box and then unbox (since covariance is a runtime feature).

By on 6/15/2011 12:46 PM ()

F# generally doesn't do variance. In this case, just use Array.map, I expect that

1
Array.map (fun x -> upcast x)

will transform your array of lists into an array of seqs that's acceptable.

By on 6/15/2011 10:47 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