[Haskell-cafe] lens and Maybe value

David Feuer david.feuer at gmail.com
Tue Dec 20 16:27:52 UTC 2022


What is conf? If you write a small example that actually compiles, this
will be easier to think about.

On Tue, Dec 20, 2022, 11:25 AM PICCA Frederic-Emmanuel <
frederic-emmanuel.picca at synchrotron-soleil.fr> wrote:

>
>
> ----- Le 20 Déc 22, à 17:18, David Feuer david.feuer at gmail.com a écrit :
>
> > Please clarify your question. Your code doesn't compile, and I can't tell
> > what it's supposed to do.
>
>
> replace a (Maybe a) value in a data using lens only if the new (Maybe a)
> is a Just
>
> Is it clearer ?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20221220/1b9c7bd3/attachment.html>


More information about the Haskell-Cafe mailing list