Sorry for a type and probably confusing you, it must be:

> readRow l = gmap (\(Left (Just ri)) -> Right $ l `atMay` ri >>= readMay)

instead of

> l `atMay` c

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to