http://www.w3.org/ns/prov#value | - Can we make this prettier?Or if we want to modify a property, for example add 1000 to the mileage, even with mutable properties we have to do:aBook.Editor.Car.Mileage <- aBook.Editor.Car.Mileage + 1000If this were C# we could just say:aBook.Editor.Car.Mileage += 1000;he is pretty convenient, so how can we implement something similar in F# with immutable records?
|