Request for input on #7253: Top-level bindings in GHCI

Alex Rozenshteyn rpglover64 at
Sat Aug 22 15:50:47 UTC 2015

I'm thinking of working on this ticket (, so, as per mpickering's
suggestion (,
I'm emailing the list to solicit input.

My first instinct was to treat declarations like "a = 1" in GHCI as
equivalent to "let a = 1"; this would be a straightforward matter of
parsing. On the other hand, as thoughtpolice comments, let-bound variables
are treated subtly differently than top-level bindings, so the proper
solution may be more involved.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ghc-devs mailing list