1. 26 Aug, 2011 5 commits
    • Simon Marlow's avatar
      fix warning · 3a6120a2
      Simon Marlow authored
      3a6120a2
    • Simon Marlow's avatar
      Clean up the handling of the import and :module commands in GHCi · 79d6745f
      Simon Marlow authored
      Previously we remembered the whole history of commands and replayed
      them on every :load/:reload, which lead to some non-linear performance
      characteristics (#5317).  The handling of the implicit Prelude import
      and the implicit imports of recently loaded modules was also
      complicated and wrong in various obscure ways.
      
      The Prelude import works just like the implicit Prelude import in a
      Haskell module: it can be overriden with an explicit Prelude
      import.
      
      I have added a new ":show imports" command to show which imports are
      currently in force.
      
      Prelude> :show imports
      import Prelude -- implicit
      Prelude> import Prelude ()
      Prelude> :show imports
      import Prelude ()
      Prelude> map
      
      <interactive>:0:1: Not in scope: `map'
      Prelude>
      
      Full documentation in the User's Guide.
      
      There are various other little tweaks and improvements, such as when a
      module is imported with 'as', we now show the 'as' name in the prompt
      rather than the original name.
      79d6745f
    • Simon Marlow's avatar
      3b8d1287
    • Simon Marlow's avatar
      export HscEnv · 216091d6
      Simon Marlow authored
      216091d6
    • Ian Lynagh's avatar
      Follow ghc-prim changes · 1b876144
      Ian Lynagh authored
      1b876144
  2. 25 Aug, 2011 23 commits
  3. 24 Aug, 2011 4 commits
  4. 23 Aug, 2011 3 commits
  5. 22 Aug, 2011 5 commits