
15 May
2014
15 May
'14
6:31 p.m.
With lens, you can write:
[1,2,3] ^?! ix 0 1
Not that much of a difference, IMO.
2014-05-15 20:30 GMT+02:00 silvio
Yes I know lenses do something similar. But they are restricted to lenses in the same way the other proposal is restricted to functions you couldn't write
[1,2,3] . 0 1
and also I don't think they solve the name collision problem either.
silvio _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe