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.
_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.