[Haskell-cafe] running ghci simply

Brandon S Allbery KF8NH allbery at ece.cmu.edu
Mon Sep 6 17:33:20 EDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 9/6/10 04:08 , Ivan Lazar Miljenovic wrote:
> On 6 September 2010 18:00, Johann Bach <johann.bach1127 at gmail.com> wrote:
>> Regarding runhaskell: the last time I tried it, it compiled the
>> program, but I want to use the interpreter. I have a script-like
>> application in which the code will be changing frequently and I want
>> to run it and see the results quickly.
> 
> Unless on Windows it does something differently, that shouldn't
> happen: on *nix it just interprets the file and doesn't compile it.

Even "interpreted" Haskell is actually compiled to bytecode first.  This
shouldn't be visible when invoked via runhaskell/runghc/ghc -e, though.

- -- 
brandon s. allbery     [linux,solaris,freebsd,perl]      allbery at kf8nh.com
system administrator  [openafs,heimdal,too many hats]  allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university      KF8NH
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyFXiAACgkQIn7hlCsL25V5gQCdFP2f5PovNlx25aa/ER1wVrtc
+psAn1DpE5VFor2m3mmG6xc5atNlBaSf
=doJA
-----END PGP SIGNATURE-----


More information about the Haskell-Cafe mailing list