Skip to content
  • Simon Marlow's avatar
    [project @ 2000-11-16 16:54:36 by simonmar] · 2bf08ae1
    Simon Marlow authored
    WOOHOO!  GHCi interprets "Hello World":
    
     _____  __   __  ____         _________________________________________________
    (|      ||   || (|  |)        GHC Interactive, version 5.00
    ||  __  ||___|| ||     ()     For Haskell 98.
    ||   |) ||---|| ||     ||     http://www.haskell.org/ghc
    ||   || ||   || ||     (|     Bug reports to: glasgow-haskell-bugs@haskell.org
    (|___|| ||   || (|__|) \\______________________________________________________
    
    Loading package std ... resolving ... done.
    Prelude> :l Main
    cmLoadModule: downsweep begins
    getSummary: Main
    after tsort:
    
    NONREC
       ModSummary { ms_mod = Main, ms_imps = [] ms_srcimps = [] }
    CHECKING OLD IFACE for hs = Just "./Main.hs", hspp = Just "/tmp/ghc25011.hspp"
    COMPILATION IS REQUIRED
    UPSWEEP COMPLETELY SUCCESSFUL
    CmLink.link: linkables are ...
    LinkableM Main [Trees [Main.main = letP stg_cIM = (@PP Native PrelShow.$fShow[] Native PrelShow.$fShowChar)
                                       in
                                       letP stg_cIL = (@IP Native PrelBase.unpackCString# 141613256#)
                                       in
                                       (@PP (@PP Native PrelIO.print stg_cIM) stg_cIL)]]
    Main.main
    CmLink.link: done
    Prelude> Main.main
    Run expression: Main.main
    evalI:
    141613256#
    
    "Hello, world!"
    done.
    2bf08ae1