[Haskell-cafe] Fwd: Monad Transformers stack with variable depth

Oliver Charles ollie at ocharles.org.uk
Wed Mar 7 11:54:41 UTC 2018


On Wed, Mar 7, 2018 at 11:42 AM Ivan Perez <ivanperezdominguez at gmail.com>
wrote:

>
> (Note for other readers: reminds me of lenses. Maybe StateT and Lens can
> be combined?)
>

I've only skimmed the conversation, but I believe you're looking for zoom
<https://hackage.haskell.org/package/lens-4.16/docs/Control-Lens-Zoom.html#v:zoom>


Ollie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20180307/4551ec45/attachment.html>


More information about the Haskell-Cafe mailing list