Okay, please disregard this post - I found the answer to my question in the release notes for F# 1.9.4: use the Unchecked.defaultof<T> function. Great, that works for me!

I guess that the deprecation of previous patterns, as also described in that post, explains why the other code snippet wasn't working for me.

By on 5/19/2008 3:43 PM ()

Hi Oliver,

Thanks for posting the follow up - yes, Unchecked.defaultof<_> is exactly for use in this kind of situation.

Kind regards

don

By on 5/20/2008 3:37 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