This project is mirrored from https://gitlab.haskell.org/ghc/ghc.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Last successful update .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Last successful update .
- 26 Sep, 2012 1 commit
-
-
Simon Marlow authored
-
- 25 Sep, 2012 2 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
This is a hopefully temporary measure until the new SRT design is implemeented.
-
- 04 Sep, 2012 1 commit
-
-
Simon Marlow authored
We need to make the SRT label external and unique when splitting, because it is shared amongst all the functions in the module. Also some SRT-related cleanup.
-
- 23 Aug, 2012 2 commits
- 05 Aug, 2012 1 commit
-
-
pcapriotti authored
-
- 24 Jul, 2012 1 commit
-
-
Ian Lynagh authored
All the flags that 'ways' imply are now dynamic
-
- 11 Jul, 2012 1 commit
-
-
- 05 Jul, 2012 1 commit
-
-
Simon Marlow authored
-
- 04 Jul, 2012 1 commit
-
-
Simon Marlow authored
-
- 15 Jun, 2012 1 commit
-
-
Simon Marlow authored
-
- 13 Jun, 2012 3 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
We can now get the Platform from the DynFlags inside an SDoc, so we no longer need to pass the Platform in.
-
- 12 Jun, 2012 2 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
- 11 Jun, 2012 1 commit
-
-
Simon Marlow authored
-
- 06 Jun, 2012 1 commit
-
-
Ian Lynagh authored
This will make it possible to write PrelRules that produce an Integer result without having Integer arguments.
-
- 05 Jun, 2012 1 commit
-
-
Ian Lynagh authored
By using Haskell's debugIsOn rather than CPP's "#ifdef DEBUG", we don't need to kludge things to keep the warning checker happy etc.
-
- 29 May, 2012 1 commit
-
-
Ian Lynagh authored
We now use log_action with severity SevDump, rather than calling printDump. This means that what happens to dumped info is now under the control of the GHC API user, rather than always going to stdout.
-
- 15 May, 2012 1 commit
-
-
pcapriotti authored
-
- 01 May, 2012 1 commit
-
-
Simon Peyton Jones authored
There was one place, in type checking parallel list comprehensions where we were unifying types, but had no convenient way to use the resulting coercion; instead we just checked that it was Refl. This was Wrong Wrong; it might fail unpredicably in a GADT-like situation, and it led to extra error-generation code used only in this one place. This patch tidies it all up, by moving the 'return' method from the *comprehension* to the ParStmtBlock. The latter is a new data type, now used for each sub-chunk of a parallel list comprehension. Because of the data type change, quite a few modules are touched, but only in a fairly trivial way. The real changes are in TcMatches (and corresponding desugaring); plus deleting code from TcUnify. This patch also fixes the pretty-printing bug in Trac #6060
-
- 24 Apr, 2012 1 commit
-
- 13 Apr, 2012 2 commits
-
-
Simon Peyton Jones authored
Two problems, for now at any rate a) Breaks the build with lots of errors like No instance for (Show (IO ())) arising from a use of `print' b) Discussion of the approache hasn't converged yet (Simon M had a number of suggestions) This reverts commit eecd7c98.
-
dterei authored
This command allows you to lift user stmts in GHCi into an IO monad that implements the GHC.GHCi.GHCiSandboxIO type class. This allows for easy sandboxing of GHCi using :runmonad and Safe Haskell. Longer term it would be nice to allow a more general model for the Monad than GHCiSandboxIO but delaying this for the moment.
-
- 04 Apr, 2012 3 commits
- 01 Mar, 2012 2 commits
-
-
Simon Marlow authored
e.g. [3 of 5] Compiling C (C.hs, C.o) [4 of 5] Compiling D (D.hs, D.o) [C changed] [5 of 5] Compiling E (E.hs, E.o) [D changed] The main motivation for this is so that we can give the user a clue when something is being recompiled because the flags changed: [1 of 1] Compiling Test2 ( Test2.hs, Test2.o ) [flags changed]
-
Simon Marlow authored
GHCi now maintains two DynFlags: one that applies to whole modules loaded with :load, and one that applies to things typed at the prompt (expressions, statements, declarations, commands). The :set command modifies both DynFlags. This is for backwards compatibility: users won't notice any difference. The :seti command applies only to the interactive DynFlags. Additionally, I made a few changes to ":set" (with no arguments): * Now it only prints out options that differ from the defaults, rather than the whole list. * There is a new variant, ":set -a" to print out all options (the old behaviour). * It also prints out language options. e.g. Prelude> :set options currently set: none. base language is: Haskell2010 with the following modifiers: -XNoDatatypeContexts -XNondecreasingIndentation GHCi-specific dynamic flag settings: other dynamic, non-language, flag settings: -fimplicit-import-qualified warning settings: ":seti" (with no arguments) does the same as ":set", but for the interactive options. It also has the "-a" option. The interactive DynFlags are kept in the InteractiveContext, and copied into the HscEnv at the appropriate points (all in HscMain). There are some new GHC API operations: -- | Set the 'DynFlags' used to evaluate interactive expressions. setInteractiveDynFlags :: GhcMonad m => DynFlags -> m () -- | Get the 'DynFlags' used to evaluate interactive expressions. getInteractiveDynFlags :: GhcMonad m => m DynFlags -- | Sets the program 'DynFlags'. setProgramDynFlags :: GhcMonad m => DynFlags -> m [PackageId] -- | Returns the program 'DynFlags'. getProgramDynFlags :: GhcMonad m => m DynFlags Note I have not completed the whole of the plan outlined in #3217 yet: when in the context of a loaded module we don't take the interactive DynFlags from that module. That needs some more refactoring and thinking about, because we'll need to save and restore the original interactive DynFlags. This solves the immediate problem that people are having with the new flag checking in 7.4.1, because now it is possible to set language options in ~/.ghci that do not affect loaded modules and thereby cause recompilation.
-
- 10 Feb, 2012 1 commit
-
-
Simon Peyton Jones authored
In HscMain.hscDeclsWithLocaion, we were grabbing class instances from the tcg_inst_env field of the TcGblEnv. But that's wrong: that field contains all the *home-package* instances. Instead we need the tct_insts field, which has just the instances from the module being compiled.
-
- 27 Jan, 2012 1 commit
-
-
Simon Marlow authored
-
- 26 Jan, 2012 6 commits
-
-
dterei authored
-
Simon Marlow authored
This is so that we can process the Stg code in constant space. Before we were generating all the C-- up front, leading to a large space leak. I haven't converted the LLVM or C back ends to the incremental scheme, but it's not hard to do.
-
dterei authored
-
dterei authored
-
dterei authored
-
dterei authored
-
- 25 Jan, 2012 1 commit
-
-
Simon Marlow authored
-