F# Constructor
问题 How do I do things in a constructor in F#? I cant quite figure it out... 回答1: I would check out Constructors (F#): Objects of class types have constructors. There are two kinds of constructors. One is the primary constructor, whose parameters appear in parentheses just after the type name. You specify other, optional additional constructors by using the new keyword. Any such additional constructors must call the primary constructor. 来源: https://stackoverflow.com/questions/984588/f-constructor