[Haskell-cafe] IsString instances for attoparsec-text

Yitzchak Gale gale at sefer.org
Tue Jan 25 12:15:15 CET 2011


Hi Felipe,

Thanks so much for implementing the attoparsec-text package.

Could you please add an IsString instance for Parser Text,
parallel to the one in attoparsec? You may have missed this because
of it being an orphan instance in attoparsec.

It should be something like:

instance IsString (Parser T.Text) where
  fromString = string . T.pack

Thanks,
Yitz



More information about the Haskell-Cafe mailing list