[Haskell-cafe] -fdefer-type-errors
Tom Ellis
tom-lists-haskell-cafe-2017 at jaguarpaw.co.uk
Wed Apr 17 20:26:20 UTC 2019
On Wed, Apr 17, 2019 at 04:17:17PM -0400, Bill Hallahan wrote:
> However, with GHC 8.2.2, I get an error when trying to do this:
[...]
> Prelude> let foo = (True, 'a' && False)
[...]
> Prelude> fst foo
> *** Exception: <interactive>:1:18: error:
> • Couldn't match expected type ‘Bool’ with actual type ‘Char’
FWIW I see this behaviour in GHC 8.0.1 too.
More information about the Haskell-Cafe
mailing list