Hey,

The error is because the above example is ambiguous, it could be interpreted as either fun Blah i -> i, i.e. a two argument function, or as fun (Blah(i)) -> i, i.e. a function with a single pattern argument as you intended. For the minute the easiest way around it is to just add the extra parenthesis, however, there was a <a href = "http://cs.hubfs.net/forums/thread/3634.aspx">thread</a> discussing the possible use of whitespace to distinguish between various other similar things when using #light so it may possible that a similar thing could be done in this case.

By on 10/3/2007 5:25 PM ()
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