Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Post History
Taking the example from this Stackoverflow question: type Vector2D(dx : float, dy : float) = static let zero = Vector2D(0.0, 0.0) static let onex = Vector2D(1.0, 0.0) static let ...
Question
f#
#1: Initial revision
What is the difference between `static let` and `static member` in F#?
Taking the example from [this Stackoverflow question](https://stackoverflow.com/q/34447766/1498178): ``` type Vector2D(dx : float, dy : float) = static let zero = Vector2D(0.0, 0.0) static let onex = Vector2D(1.0, 0.0) static let oney = Vector2D(0.0, 1.0) /// Get the zero vector static member Zero = zero /// Get a constant vector along the X axis of length one static member OneX = onex /// Get a constant vector along the Y axis of length one static member OneY = oney ```