summaryrefslogtreecommitdiff
path: root/compiler/deSugar/Check.lhs
Commit message (Collapse)AuthorAgeFilesLines
...
* Add more assertionssimonpj@microsoft.com2007-05-021-3/+3
|
* Add support for overloaded string literals.lennart@augustsson.net2006-12-211-0/+1
| | | | | | | | | | The class is named IsString with the single method fromString. Overloaded strings work the same way as overloaded numeric literals. In expressions a string literals gets a fromString applied to it. In a pattern there will be an equality comparison with the fromString:ed literal. Use -foverloaded-strings to enable this extension.
* Module header tidyup, phase 1Simon Marlow2006-10-111-19/+14
| | | | | | | | | | | | This patch is a start on removing import lists and generally tidying up the top of each module. In addition to removing import lists: - Change DATA.IOREF -> Data.IORef etc. - Change List -> Data.List etc. - Remove $Id$ - Update copyrights - Re-order imports to put non-GHC imports last - Remove some unused and duplicate imports
* Merge Haddock comment support from ghc.haddock -- big patchdavve@dtek.chalmers.se2006-10-051-2/+2
|
* Fix newtype deriving properly (un-doing Audreys patch)simonpj@microsoft.com2006-09-251-6/+6
| | | | | | | | | | | | | | | | | | | | The newtype-deriving mechanism generates a HsSyn case expression looking like this case (d `cast` co) of { ... } That is, the case expression scrutinises a dictionary. This is otherwise never seen in HsSyn, and it made the desugarer (Check.get_unused_cons) crash in tcTyConAppTyCon. It would really be better to generate Core in TcInstDecls (the newtype deriving part) but I'm not going to do that today. Instead, I made Check.get_unused_cons a bit more robust. Audrey tried to fix this over the weekend, but her fix was, alas, utterly bogus, which caused mysterious failures later. I completely undid this change. Anyway it should work now!
* Fix pattern w/o location in CheckManuel M T Chakravarty2006-08-071-1/+1
|
* Add CoPat stuffManuel M T Chakravarty2006-08-061-0/+2
| | | | Wed Jul 19 09:55:27 EDT 2006 kevind@bu.edu
* Massive patch for the first months work adding System FC to GHC #10Manuel M T Chakravarty2006-08-041-40/+36
| | | | | | | | Broken up massive patch -=chak Original log message: This is (sadly) all done in one patch to avoid Darcs bugs. It's not complete work... more FC stuff to come. A compiler using just this patch will fail dismally.
* Lazy patterns are like wild-cards for overlap warningssimonpj@microsoft.com2006-07-271-1/+2
| | | | | | | | MERGE TO STABLE Fixes Trac #827 Test is should_compiler/ds058
* Reorganisation of the source treeSimon Marlow2006-04-071-0/+698
Most of the other users of the fptools build system have migrated to Cabal, and with the move to darcs we can now flatten the source tree without losing history, so here goes. The main change is that the ghc/ subdir is gone, and most of what it contained is now at the top level. The build system now makes no pretense at being multi-project, it is just the GHC build system. No doubt this will break many things, and there will be a period of instability while we fix the dependencies. A straightforward build should work, but I haven't yet fixed binary/source distributions. Changes to the Building Guide will follow, too.