0
comment
comment
on 10/18/2013 10:39 AM
One thing I like about f# is the ability to use readonly objects in a way that does not require a lot of code. I’ve done a small lib inspired by this ability of f#: with
The syntax is a bit special since I assume that the properties have a private set.<blockquote class="tr_bq">
myobject.With(m => m.Property1 == 3 && m.Property2 == "3")
</blockquote>