[Haskell-cafe] RFC: Handling marginally bad data via logging "soft-errors"

amindfv at gmail.com amindfv at gmail.com
Wed Apr 12 18:09:29 UTC 2017

Why not eg:

parseName :: HStore -> (Maybe String, FullName)

Where all the errors are collected after parsing with:

mapMaybe fst :: [(Maybe String, FullName)] -> [String]

And the values are just collected with "map snd"


> El 12 abr 2017, a las 09:59, Saurabh Nanda <saurabhnanda at gmail.com> escribió:
> parseName :: HStore -> FullName

More information about the Haskell-Cafe mailing list