runState -package:fused-effects package:protolude is:exact

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