[GHC] #3802: :main in GHCi doesn't do getArgs wildcard expansion
GHC
trac at galois.com
Wed Jan 6 13:27:30 EST 2010
#3802: :main in GHCi doesn't do getArgs wildcard expansion
------------------------------------------+---------------------------------
Reporter: NeilMitchell | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: GHCi | Version: 6.12.1
Resolution: | Keywords:
Difficulty: | Os: Windows
Testcase: | Architecture: Unknown/Multiple
Failure: Incorrect result at runtime |
------------------------------------------+---------------------------------
Comment (by NeilMitchell):
Which behaviour is right depends on how you describe the feature - either
"it's like setting the value getArgs returns" or "it's like running it
from the command line". It currently operates like the first, but
operating like the second would make it more useful. I don't think the
question of whether the shell or GHC does the expansion is that important,
the important thing is that when run from the shell the expansion happens.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3802#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list