Typo in type error message

Simon Marlow simonmar at microsoft.com
Thu May 10 05:05:55 EDT 2001


> s/comprension/comprehension/ in the last line of this error message
> 
>     Couldn't match `[Char]' against `Char'
>         Expected type: [[Char]]
>         Inferred type: FilePath
>     in a `list comprension' pattern binding: f
> 
> Here's the offending line:
> 
>   grep comprension compiler/*/*.lhs
>   compiler/hsSyn/HsExpr.lhs:pprMatchContext ListComp     = 
> ptext SLIT("In a 'list comprension' pattern binding")

Fixed, thanks.

Simon




More information about the Glasgow-haskell-bugs mailing list