See below, you need to specify the type of list, e.g. list<float>.

1
2
3
4
5
type Polygon =
    struct
        val Coords : list<float>
        new(list_of_Coords) = { Coords = list_of_Coords }
    end

(And yes, there are no error help pages for F#.)

By on 7/22/2009 4:09 PM ()

And another reply popped up in this thread:
[link:stackoverflow.com]

By on 7/23/2009 1:29 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