<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Wed, Mar 7, 2018 at 11:42 AM Ivan Perez <<a href="mailto:ivanperezdominguez@gmail.com">ivanperezdominguez@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div><br></div></div></div>(Note for other readers: reminds me of lenses. Maybe StateT and Lens can be combined?)<br></div></div></div></div></div></div></blockquote><div><br></div><div>I've only skimmed the conversation, but I believe you're looking for <a href="https://hackage.haskell.org/package/lens-4.16/docs/Control-Lens-Zoom.html#v:zoom">zoom</a> </div><div><br></div><div>Ollie</div></div></div>