I believe you mean the compiler is looking for the unit type, which is the same as void in C# (as opposed to uint, which is an unsigned integer).

There is only one value of type unit: (). The preferred method in this case is using ignore. If you look at prim-types.fs, you will see that the definition of ignore is very simple: let ignore x = (). So, the slow-down is probably occurring elsewhere, not because of the ignore.

Regards,

z.

By on 2/18/2008 12:05 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