[Haskell-cafe] Generics for constructing Rows

Max Desyatov explicitcall at googlemail.com
Thu Aug 20 05:55:08 EDT 2009


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



More information about the Haskell-Cafe mailing list