#4929: Support all top-level declarations in GHCi
---------------------------------+------------------------------------------
Reporter: simonmar | Owner:
Type: task | Status: new
Priority: normal | Milestone: _|_
Component: GHCi | Version: 7.0.1
Keywords: | Testcase:
Blockedby: | Difficulty: Difficult (2-5 days)
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
I thought we had a ticket for this, but I can't find it so I'm creating
one.
In GHCi there's no reason in principle that we can't allow any declaration
that you can write at the top-level of a source file, at the interactive
prompt. Many people have asked for this over the years.
* data/type/newtype declarations
* class declarations
* instance declarations
* foreign declarations (exception foreign export)
* deriving
* default???
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4929>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs