[GHC] #11392: Decide and document how semicolons are supposed to work in GHCi
GHC
ghc-devs at haskell.org
Tue Nov 7 18:19:40 UTC 2017
#11392: Decide and document how semicolons are supposed to work in GHCi
-------------------------------------+-------------------------------------
Reporter: bgamari | Owner: (none)
Type: task | Status: new
Priority: normal | Milestone: 8.4.1
Component: GHCi | Version: 7.10.3
Resolution: | Keywords: newcomer
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: #10663, #7625 | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by jkiefer):
This looks interesting, but it seems to mostly already be resolved. With
#10663, GHCi simply rejects multiple imports separated by semicolons. I'm
not sure when this got fixed, but testing with GHCi 8.0.2 the parser state
issue seems to have been fixed:
{{{
λ> data Infix a b = a :@: b; infixl 7 :@:
λ> a
<interactive>:2:1: error: Variable not in scope: a
}}}
Is there any more to be done?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11392#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list