[Haskell-cafe] runhaskell flags: What is going on?

Brandon Allbery allbery.b at gmail.com
Fri May 3 16:48:33 CEST 2013


On Fri, May 3, 2013 at 10:35 AM, Niklas Hambüchen <mail at 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 at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130503/67014a42/attachment.htm>


More information about the Haskell-Cafe mailing list