[Haskell-cafe] Library for overloaded indexing (a la (!))

Tom Ellis tom-lists-haskell-cafe-2013 at jaguarpaw.co.uk
Fri Aug 14 06:29:05 UTC 2015


On Thu, Aug 13, 2015 at 10:31:53PM -0700, William Yager wrote:
> it only provides a substitute for "!?", not "!". (Or at least, I couldn't
> figure out how to get "!" behavior cleanly.)

(Don't you want ^?!)?


http://haddock.stackage.org/lts-3.0/microlens-0.2.0.0/Lens-Micro.html#v:-94--63

and also available in Control.Lens.

Tom


More information about the Haskell-Cafe mailing list