setters-0.1: Small (TH) library to declare setters for typical `record' data type fields.

Control.Monad.State.Puts

Synopsis

Documentation

puts :: MonadState s m => (a -> s -> s) -> a -> m ()Source

Puts is just an opposite to gets. Compare `x <- gets field' with `puts setField newValue'.