Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use unicode quote characters in error messages etc; fixes #2507 | Ian Lynagh | 2013-02-24 | 1 | -1/+6 |
| | | | | We only use the unicode characters if the locale supports them. | ||||
* | Remove gblock and gunblock | Ian Lynagh | 2013-02-19 | 1 | -20/+4 |
| | |||||
* | Add OverloadedLists, allowing list syntax to be overloaded | Simon Peyton Jones | 2013-02-14 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | This work was all done by Achim Krause <achim.t.krause@gmail.com> George Giorgidze <giorgidze@gmail.com> Weijers Jeroen <jeroen.weijers@uni-tuebingen.de> It allows list syntax, such as [a,b], [a..b] and so on, to be overloaded so that it works for a variety of types. The design is described here: http://hackage.haskell.org/trac/ghc/wiki/OverloadedLists Eg. you can use it for maps, so that [(1,"foo"), (4,"bar")] :: Map Int String The main changes * The ExplicitList constructor of HsExpr gets witness field * Ditto ArithSeq constructor * Ditto the ListPat constructor of HsPat Everything else flows from this. | ||||
* | Use throwIO rather than throw | Ian Lynagh | 2013-01-30 | 1 | -1/+1 |
| | |||||
* | Make MonadIO a superclass of ExceptionMonad | Ian Lynagh | 2013-01-30 | 1 | -1/+2 |
| | |||||
* | Add throwGhcExceptionIO and change a few uses of throwGhcException to use it | Ian Lynagh | 2013-01-30 | 1 | -1/+6 |
| | |||||
* | StaticFlags code cleanup (fixes #7595) | Jan Stolarek | 2013-01-28 | 1 | -2/+3 |
| | | | | | | | | | Function responsible for parsing the static flags, that were spread across two modules (StaticFlags and StaticFlagParser), are now in one file. This is analogous to dynamic flags parsing, which is also contained within a single module. Signed-off-by: David Terei <davidterei@gmail.com> | ||||
* | Added support to cross-compile to android | Nathan | 2013-01-24 | 1 | -0/+2 |
| | | | | Signed-off-by: David Terei <davidterei@gmail.com> | ||||
* | Add support for nto-qnx (BlackBerry 10) | Simon Marlow | 2013-01-23 | 1 | -0/+2 |
| | | | | Submitted by: Stephen Paul Weber <singpolyma@singpolyma.net> | ||||
* | Ship transformers with GHC | Ian Lynagh | 2013-01-02 | 1 | -22/+1 |
| | | | | | This means that we can use the standard MonadIO class, rather than needing our own copy. | ||||
* | Whitespace only in utils/MonadUtils.hs | Ian Lynagh | 2013-01-02 | 1 | -13/+6 |
| | |||||
* | Define ListSetOps.getNth, and use it | Simon Peyton Jones | 2013-01-02 | 1 | -0/+18 |
| | | | | | | | | I was tracking down an error looking like Prelude.(!!): index too large which is very unhelpful. This patch replaces at least some uses of (!!) in GHC with getNth, which has a more helpful error message (with DEBUG anyway) | ||||
* | Rename remaining FastBytes usages to ByteString | Ian Lynagh | 2012-12-14 | 4 | -24/+19 |
| | |||||
* | Remove the trivial mkFastStringFastBytes wrapper | Ian Lynagh | 2012-12-14 | 2 | -6/+3 |
| | |||||
* | Use ByteString rather than FastBytes in Binary | Ian Lynagh | 2012-12-14 | 2 | -32/+16 |
| | |||||
* | Remove a couple more FastBytes functions | Ian Lynagh | 2012-12-14 | 1 | -7/+4 |
| | |||||
* | Use BS.pack instead of mkFastBytesByteList | Ian Lynagh | 2012-12-14 | 1 | -10/+0 |
| | |||||
* | Inline some FastBytes/ByteString wrappers | Ian Lynagh | 2012-12-14 | 2 | -17/+5 |
| | | | | Working towards removing FastBytes | ||||
* | Make FastBytes a synonym for ByteString | Ian Lynagh | 2012-12-13 | 3 | -96/+77 |
| | | | | | | | | | | | A step on the way to getting rid of FastBytes slow nofib Compile times look like: -1 s.d. -2.4% +1 s.d. +3.4% Average +0.4% but looking at the times for the longer-running compilations I think the change is just noise. | ||||
* | Use ByteString rather than FastBytes inside FastZString | Ian Lynagh | 2012-12-12 | 2 | -21/+32 |
| | | | | | | | Slow nofib Compile Times difference looks like just noise: -1 s.d. -2.9% +1 s.d. +2.9% Average -0.1% | ||||
* | Revert "Fix pprPanic so that it doesn't throw away the SDoc part of the error." | Ian Lynagh | 2012-12-04 | 1 | -2/+1 |
| | | | | | | | This reverts commit e6ce335e8e3ba0718efd234910185e4257424562. pprPanic doesn't throw the Doc away: It gets passed in the PprPanic constructor. | ||||
* | Fix pprPanic so that it doesn't throw away the SDoc part of the error. | Erik de Castro Lopo | 2012-12-04 | 1 | -1/+2 |
| | |||||
* | Replace all uses of ghcError with throwGhcException and purge ghcError. | Erik de Castro Lopo | 2012-11-30 | 1 | -5/+1 |
| | |||||
* | fix some typos | Gabor Greif | 2012-11-21 | 1 | -4/+4 |
| | |||||
* | Tell the compiler about alpha, mipseb and mipsel again; fixes #7339 | Ian Lynagh | 2012-11-13 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts the compiler parts of commit 7b594a5d7ac29972db39228e9c8b7f384313f39b Author: David Terei <davidterei@gmail.com> Date: Mon Nov 21 12:05:18 2011 -0800 Remove registerised code for dead architectures: mips, ia64, alpha, hppa1, m68k In particular, we want to know whether bewareLoadStoreAlignment should return True or False for them. It also reverts commit 3fc68b5c356b39b2b52a86d953367d0021c13262 Author: Simon Marlow <marlowsd@gmail.com> Date: Wed Jan 4 11:44:02 2012 +0000 Remove missing archs (mipseb, mipsel, alpha) (#5734) It doesn't hurt to map these to ArchUnknown since we don't need to know anything specific about them, and adding them would be a pain (there are a bunch of places where we have to case-match on all the arches to avoid warnings). | ||||
* | Remove unused function fmapM_maybe | Ian Lynagh | 2012-11-02 | 1 | -9/+0 |
| | |||||
* | Refactoring: Make a HasModule class for getModule | Ian Lynagh | 2012-11-02 | 1 | -0/+5 |
| | |||||
* | Fix typos | Ian Lynagh | 2012-11-01 | 1 | -1/+1 |
| | |||||
* | Put the DynFlags in a global variable for tracing; fixes #7304 | Ian Lynagh | 2012-10-08 | 1 | -4/+4 |
| | | | | | | | | | This is an ugly kludge to make a DynFlags value available for the 'trace' functions. It may not be the value we really ought to use, but it'll be good enough for the pretty-printer to use. Ideally we'd pass the real DynFlags down to all the trace calls, but this will do for now at least. | ||||
* | Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc | Ian Lynagh | 2012-10-03 | 1 | -1/+4 |
|\ | |||||
| * | Merge remote-tracking branch 'origin/master' into tc-untouchables | Simon Peyton Jones | 2012-09-28 | 2 | -0/+11 |
| |\ | |||||
| * \ | Merge remote-tracking branch 'origin/master' into tc-untouchables | Simon Peyton Jones | 2012-09-17 | 1 | -0/+4 |
| |\ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: compiler/typecheck/TcMType.lhs compiler/typecheck/TcSMonad.lhs | ||||
| * \ \ | Merge remote-tracking branch 'origin/HEAD' into tc-untouchables | Simon Peyton Jones | 2012-08-29 | 1 | -12/+5 |
| |\ \ \ | |||||
| * | | | | Big changes on tc-untouchables branch | Simon Peyton Jones | 2012-08-28 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | | | (Before merging to HEAD we need to tidy up and write a proper commit message.) | ||||
* | | | | | Add a flag to tell ghc to use $ORIGIN when linking program dynamically | Ian Lynagh | 2012-10-02 | 1 | -0/+12 |
| |_|_|/ |/| | | | |||||
* | | | | Use finiteBitSize rather than bitSize when it is available | Ian Lynagh | 2012-09-23 | 1 | -0/+10 |
| | | | | |||||
* | | | | Add missing dataCast1 method to the Data Bag instance | Jose Pedro Magalhaes | 2012-09-21 | 1 | -0/+1 |
| |_|/ |/| | | |||||
* | | | Remove some more CPP | Ian Lynagh | 2012-09-10 | 1 | -0/+4 |
| |/ |/| | |||||
* | | Remove Util.{isDarwinTarget,isWindowsTarget} | Ian Lynagh | 2012-08-28 | 1 | -12/+5 |
|/ | |||||
* | Add "Unregisterised" as a field in the settings file | Ian Lynagh | 2012-08-07 | 1 | -0/+1 |
| | | | | | | To explicitly choose whether you want an unregisterised build you now need to use the "--enable-unregisterised"/"--disable-unregisterised" configure flags. | ||||
* | Whitespace only in UniqFM | Ian Lynagh | 2012-08-05 | 1 | -95/+88 |
| | |||||
* | Remove pprDefiniteTrace | Ian Lynagh | 2012-08-05 | 1 | -5/+1 |
| | | | | | All uses of it are now in an IO Monad, so we don't need to use a trace-like function. | ||||
* | De-orphan the Outputable Fingerprint instance | Ian Lynagh | 2012-08-05 | 2 | -7/+5 |
| | |||||
* | Whitespace only in utils/Outputable.lhs | Ian Lynagh | 2012-08-05 | 1 | -9/+9 |
| | |||||
* | De-orphan the Outputable Char instance | Ian Lynagh | 2012-08-05 | 1 | -0/+3 |
| | |||||
* | Add a comment about the units of platformWordSize | Ian Lynagh | 2012-07-24 | 1 | -0/+2 |
| | |||||
* | Delay inlining 'text' so that the RULE has a chance to fire | Simon Peyton Jones | 2012-07-23 | 1 | -0/+3 |
| | |||||
* | GHC 7.4 is now required for building HEAD | Ian Lynagh | 2012-07-20 | 7 | -338/+0 |
| | |||||
* | Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc | Ian Lynagh | 2012-07-19 | 1 | -9/+1 |
|\ | |||||
| * | Remove hPrintDump and make rule dump output more consistent (#7060) | Paolo Capriotti | 2012-07-18 | 1 | -9/+1 |
| | | | | | | | | | | | | | | | | The only difference between SevDump and SevOutput in defaultLogAction is an extra blank line, so we don't need a separate hPrintDump function. Also make -ddump-to-file consistent with the stdout version, by avoiding to add the extra empty line when dumping rules. |