On Fri, May 3, 2013 at 10:35 AM, Niklas Hambüchen <mail@nh2.me> wrote:
> runhaskell -fno-warn-unused-matches Myfile.hs
[some compile error]

> runhaskell -fno-warn-unused-matches Myfile.hs
[no output whatsoever but exit code 127]

> runhaskell -asdf Myfile.hs
ghc: unrecognised flags: -asdf

> runhaskell -fasdf Myfile.hs
[no output whatsoever but exit code 127]

Not sure if that's how it should work or missing error reporting?

If you type just 'runhaskell' you will get an error message which explains what is going on. (The short version is, -f has multiple meanings; some of them apply to runhaskell, and some to the underlying ghc.)

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net