Wed Aug 27 03:24:14 PDT 2008 Simon Marlow <[EMAIL PROTECTED]>
* re-fix of #1205, fix #2542
New form of :load in GHCi:
> :load *A
forces A to be loaded as byte-code. See the manual for details. The
previous behaviour for specifying filenames vs. module names on the
command line and in :load has been restored.
The Target datatype has a new Bool field, which is True if the target
is allowed to be loaded from compiled code, or False otherwise, so
this functionality is available via the GHC API. guessTarget
understands the *-prefix form for specifying targets.
M ./compiler/ghci/InteractiveUI.hs -8 +13
M ./compiler/main/GHC.hs -25 +49
M ./compiler/main/HscTypes.lhs -2 +6
M ./docs/users_guide/ghci.xml -13 +38
View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20080827102414-12142-a0366bf6323205dfabf1f952b23b4659a06b430c.gz
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc