This grammar rule is for active patterns (see section 7.1.5 of the spec). I believe that the answer to your "IDENT null" question is that it depends on the resolution of long-ident.

Consider these two active patterns:

1
2
3
4
5
let (|Test1|_|) o x =
  Some()

let (|Test2|_|) o =
  Some(o)

Then in Test1 null, null is a parameter to the Test1 active pattern, but Test2 null would be using null as a nested pattern.

-Keith

By on 8/10/2010 4:36 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