Re: Feature, implement :main command

Neil Mitchell <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.hugs
Message-ID <404396ef0510301159g6d50076r20d1e4707aaf6a68__26512.9711515785$1130702394$gmane$org@mail.gmail.com>
> Haskell 98 libraries?  How quaint.
Up until I started working on WinHugs, I was using a 2001 release of
WinHugs, which didn't really work with much beyond Haskell 98
libraries...

> This differs from setArgs in that it leave the args set.  Maybe the
> command should just set the args.

>From what I can tell, setArgs leaves the arguments set, but withArgs
doesn't because with changes the arguments back after the computation
has run. My initial thought was to revert the arguments back
afterwards, but it wasn't immediately clear how to do this - because
of things like longjmp.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.