Changes between Initial Version and Version 1 of Ticket #2167


Ignore:
Timestamp:
Mar 30, 2008 2:41:52 PM (7 years ago)
Author:
igloo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2167

    • Property Difficulty changed from to Unknown
  • Ticket #2167 – Description

    initial v1  
    11The -main-is option to runghc does not appear to work, at least not when specifying a package name. Create Hello.hs:
    2 
     2{{{
    33    module Hello where
    44    main = putStrLn "Hello."
    5 
     5}}}
    66and then try to run it:
    7 
     7{{{
    88    runghc -main-is Hello Hello.hs
    9 
     9}}}
    1010You will see:
    11 
     11{{{
    1212    <interactive>:1:113:
    1313        Failed to load interface for `Main':
    1414          Use -v to see a list of the files searched for.
     15}}}