Hi Mattie,

Yes, this is a bug.

The "=" operator can be used with all F# types, which should always implement structural equality (e.g. tuples and records), reference equality (e.g. object types) or some custom notion of equality (e.g. object types that implement IComparable or override Object.Equals).

In the case of multi-dimensional arrays you have spotted we're not doing any of these, which is a bug. You will currently have to write an equality function by hand for these as a workaround.

I've logged this as issue #1059 in our internal bug database. (At some point we hope to make this database accessible in some form so you'll be able to track our progress on this issue, but we haven't done that just yet).

Kind regards

Don

By on 10/21/2007 9:06 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