• Simon Marlow's avatar
    re-fix of #1205, fix #2542 · 3d73e45b
    Simon Marlow authored
    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.
ghci.xml 110 KB