<div dir="ltr"><div>The OP's problem wasn't with the semantics of $. The OP's problem was that the two expression had different parse trees that gave him different results when evaluated. So not only was there parsing happening here, but it was the root cause of his confusion.<br></div><div><br></div><div>Given that the output of GHC's parser was the cause of the confusion, I couldn't think of anything else you might have meant that made sense in context.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 8, 2015 at 2:06 PM, Rein Henrichs <span dir="ltr"><<a href="mailto:rein.henrichs@gmail.com" target="_blank">rein.henrichs@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Of course not. What a silly thing to suggest. <span style="font-size:13.1999998092651px;line-height:19.7999992370605px">I'm saying that parsing is not relevant to the behavior of ($). The parser can't tell the *semantic* difference between $ and any other operator.</span></div><div class="gmail_quote"><div dir="ltr">On Mon, Jun 8, 2015 at 11:02 AM Mike Meyer <<a href="mailto:mwm@mired.org" target="_blank">mwm@mired.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Are you saying that GHC doesn't have a haskell parser?</div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Jun 8, 2015 at 12:06 PM, Rein Henrichs <span dir="ltr"><<a href="mailto:rein.henrichs@gmail.com" target="_blank">rein.henrichs@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">The point is that there is no parsing happening here. Just evaluation. </div></blockquote></div></div></div></blockquote></div></blockquote></div></div></div>