[Haskell-cafe] The (!) operation

Francesco Mazzoli f at mazzo.li
Thu Mar 8 17:57:00 CET 2012


Ops sorry, I had misunderstood, you don't want key-lookups but a simple 
indexing. In that case you might want an almost identical class but with 
different instances (e.g IxClass [a] Int a, etc.).

Also, I don't see why you need to throw monads in.

Francesco.



More information about the Haskell-Cafe mailing list