[Haskell-cafe] Language.Haskell.Parser question

Neil Mitchell ndmitchell at gmail.com
Thu Mar 26 16:23:01 EDT 2009


Hi John,

> Actually, looking at the docs for UniplateStr[1], isn't there an error in
> the following example statement in the Queries section?
>
> vals x = [Val i | i <- universe x]
>
> Shouldn't that be:
> vals x = [i | Val i <- universe x]

Yep, you are indeed right. I've fixed the examples in the darcs
version, and next time there is a release these changes will be
incorporated.

Many thanks

Neil


More information about the Haskell-Cafe mailing list