Category Archives: Updatable

Updating immutable objects in generic contexts

Immutability is one of the hallmarks of functional design, and writing idiomatic programs in Scala highly relies on manipulating immutable objects. Now, if we don’t have mutable fields (aka vars) … how can we update objects in a convenient way? … Continue reading

Posted in case classes, immutability, Macros, Scala, Speech, Type Class, Updatable | 1 Comment