runState -package:incipit-core -package:polysemy package:protolude

Unwrap a state monad computation as a function. (The inverse of state.)