FsFlow.RefModule.modify

Updates the value of the reference using the supplied function and returns a derived value.