There are at least two different semantics this could have; please clarify the question with examples (and type signatures).
– leftaroundabout
1 Answers
2
votes
Perhaps something like:
[Just (Just 1, 'a')] & _head . _Just . _1 ?~ 2
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more