Thursday, 8 August 2013

What's the difference in F# between a private member and a let val?

What's the difference in F# between a private member and a let val?

Question in the title. Suppose I have:
namespace Namespace
module Module =
type public Type() =
let Z y = 2 * y
member private this.z y = 2 * y
What is the difference between Z and z?
Thanks.

No comments:

Post a Comment