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

Brandon Allbery allbery.b at gmail.com
Wed Mar 7 12:23:17 UTC 2018


Doesn't lens already have StateT support? The operators with a '=' in them.

On Wed, Mar 7, 2018 at 6:54 AM, Oliver Charles <ollie at ocharles.org.uk>
wrote:

>
>
> 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
>
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.
>



-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20180307/5eaaa1d7/attachment.html>


More information about the Haskell-Cafe mailing list