<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I believe this is a known bug: #11197 (<a href="https://gitlab.haskell.org/ghc/ghc/issues/11197" class="">https://gitlab.haskell.org/ghc/ghc/issues/11197</a>)<div class=""><br class=""></div><div class="">If you reported this again, could you please update your post to point to #11197? Thanks for reporting, regardless!</div><div class=""><br class=""></div><div class="">Richard<br class=""><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Apr 17, 2019, at 6:20 PM, Artem Pelenitsyn <<a href="mailto:a.pelenitsyn@gmail.com" class="">a.pelenitsyn@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">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 class=""><br class=""></div><div class="">Worth reporting, I guess.</div><div class=""><br class=""></div><div class="">--</div><div class="">Best, Artem<br class=""></div></div><br class=""><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" class="">tom-lists-haskell-cafe-2017@jaguarpaw.co.uk</a>> wrote:<br class=""></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 class="">
> However, with GHC 8.2.2, I get an error when trying to do this:<br class="">
[...]<br class="">
> Prelude> let foo = (True, 'a' && False)<br class="">
[...]<br class="">
> Prelude> fst foo<br class="">
> *** Exception: <interactive>:1:18: error:<br class="">
>     • Couldn't match expected type ‘Bool’ with actual type ‘Char’<br class="">
<br class="">
FWIW I see this behaviour in GHC 8.0.1 too.<br class="">
_______________________________________________<br class="">
Haskell-Cafe mailing list<br class="">
To (un)subscribe, modify options or view archives go to:<br class="">
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank" class="">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br class="">
Only members subscribed via the mailman list are allowed to post.</blockquote></div>
_______________________________________________<br class="">Haskell-Cafe mailing list<br class="">To (un)subscribe, modify options or view archives go to:<br class=""><a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" class="">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br class="">Only members subscribed via the mailman list are allowed to post.</div></blockquote></div><br class=""></div></div></body></html>