<div dir="ltr"><div>I checked the release prior to 8.0.1 — 7.10.3, and it worked as expected (returned `True`). This looks like a bug introduced somewhere in between. I wish I could do git bisect on GHC properly…</div><div><br></div><div>Worth reporting, I guess.</div><div><br></div><div>--</div><div>Best, Artem<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 17 Apr 2019 at 16:26, Tom Ellis <<a href="mailto:tom-lists-haskell-cafe-2017@jaguarpaw.co.uk">tom-lists-haskell-cafe-2017@jaguarpaw.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Apr 17, 2019 at 04:17:17PM -0400, Bill Hallahan wrote:<br>
> However, with GHC 8.2.2, I get an error when trying to do this:<br>
[...]<br>
> Prelude> let foo = (True, 'a' && False)<br>
[...]<br>
> Prelude> fst foo<br>
> *** Exception: <interactive>:1:18: error:<br>
> • Couldn't match expected type ‘Bool’ with actual type ‘Char’<br>
<br>
FWIW I see this behaviour in GHC 8.0.1 too.<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
Only members subscribed via the mailman list are allowed to post.</blockquote></div>