[GHC] #1312: runghc doesn't respect -main-is
GHC
trac at galois.com
Mon Apr 30 17:37:09 EDT 2007
#1312: runghc doesn't respect -main-is
-------------------------+--------------------------------------------------
Reporter: simonmar | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.8
Component: Compiler | Version: 6.6.1
Severity: minor | Resolution:
Keywords: | Difficulty: Easy (1 hr)
Os: Unknown | Testcase:
Architecture: Multiple |
-------------------------+--------------------------------------------------
Comment (by Isaac Dupree):
I've seen things like
{{{
ghc -e 'let
foo = bar
in
do
baz foo
putStrLn "ha ha"
' | some other shell command
}}}
... how about allowing multiple `-e expr` arguments, which are done in
sequence? At present it appears that GHC just evaluates the last one of
those when given multiple (e.g. try `ghc -e 'putStrLn "1"' -e 'putStrLn
"2"'`), which doesn't make much sense.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1312>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
-------------- next part --------------
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs at haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
More information about the Glasgow-haskell-bugs
mailing list