The modifyOrDeleteField operation works together with the optionalField lens.
The modifyOrDeleteField operation works together with the optionalField lens.
The passed function is called for every existing field. If the function returns
Some(value), this will become the new value. If the function returns None the
field will be deleted.
The setOrUpdateField operation sets or updates an optionalField.
The updateOptionalField operation works together with the optionalField lens.
The updateOptionalField operation works together with the optionalField lens. It allows
to a) create a previously missing field b) update an existing field value c) remove an existing
field d) ignore a missing field.