[Haskell] putStr is not evaluated in the correct order

Tomasz Zielonka tomasz.zielonka at gmail.com
Sun Sep 3 03:20:45 EDT 2006


On Sat, Sep 02, 2006 at 05:11:33PM -0700, Jeremy Shaw wrote:
> GHCi and the compiled program do not buffer the output in quite the
> same way.

This comes up so often that perhaps GHCi should advertise those
differences. For example, the starting message could say something
like this:

   ___         ___ _
  / _ \ /\  /\/ __(_)
 / /_\// /_/ / /  | |      GHC Interactive, version 6.?, for Haskell 98.
/ /_\\/ __  / /___| |      http://www.haskell.org/ghc/
\____/\/ /_/\____/|_|      Type :? for help.

For a list of differences between GHCi-interpreted and GHC-compiled
programs, type :differences

Loading package base-1.0 ... linking ... done.

Best regards
Tomasz


More information about the Haskell mailing list