You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
I can't just get the answer and builder out of Put in a single call. #151
PutM is a Monad. I have a legitimate usecase where I want to lift a PutM computation into a larger monad, which is juggling 3 such builders simultaneously, with some delicate interplay between the information being written to each, but to be able to do so I need to be able to "run" it without destroying all benefit of using it in the first place by round-tripping out to ByteString, so yes.
Activity
kolmodin commentedon Oct 6, 2018
So you want back the item you just wrote?
ekmett commentedon Oct 7, 2018
PutM is a
Monad. I have a legitimate usecase where I want to lift aPutMcomputation into a larger monad, which is juggling 3 such builders simultaneously, with some delicate interplay between the information being written to each, but to be able to do so I need to be able to "run" it without destroying all benefit of using it in the first place by round-tripping out toByteString, so yes.konsumlamm commentedon May 4, 2026
cerealcalls thisrunPutMBuilder. Does anyone have a better idea for a name?