GetOpt is broken

2005-04-12 Thread Volker Wysk
Hello. In GHC 6.4, GetOpt no longer recognizes the -- argument, which terminates interpretation of arguments beginning with - as switches: import System.Console.GetOpt import System main = do args - getArgs let (_,_,f) = getOpt Permute [Option a [] (OptArg (const ()) xxx) ]

Re: GetOpt is broken

2005-04-12 Thread Wolfgang Thaller
Volker Wysk wrote: Hello. In GHC 6.4, GetOpt no longer recognizes the -- argument, which terminates interpretation of arguments beginning with - as switches: Thanks for the report. This bug is already fixed in CVS. Cheers, Wolfgang ___