(a) The type parameter gets inferred. An explicit syntax is currently being added.

(b) There is a known name-mangling issue when accessing static properties in generic classes. Use

1
2
3
4
5
6
7
 

open System.Collections.Generic

let c : Comparer<int> = ``Comparer`1``.Default

Don

By on 12/10/2006 11:05 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