summaryrefslogtreecommitdiff
path: root/compiler/utils/ListSetOps.lhs
Commit message (Collapse)AuthorAgeFilesLines
* compiler: de-lhs utils/Austin Seipp2014-12-031-196/+0
| | | | Signed-off-by: Austin Seipp <austin@well-typed.com>
* Add LANGUAGE pragmas to compiler/ source filesHerbert Valerio Riedel2014-05-151-0/+1
| | | | | | | | | | | | | | | | | | In some cases, the layout of the LANGUAGE/OPTIONS_GHC lines has been reorganized, while following the convention, to - place `{-# LANGUAGE #-}` pragmas at the top of the source file, before any `{-# OPTIONS_GHC #-}`-lines. - Moreover, if the list of language extensions fit into a single `{-# LANGUAGE ... -#}`-line (shorter than 80 characters), keep it on one line. Otherwise split into `{-# LANGUAGE ... -#}`-lines for each individual language extension. In both cases, try to keep the enumeration alphabetically ordered. (The latter layout is preferable as it's more diff-friendly) While at it, this also replaces obsolete `{-# OPTIONS ... #-}` pragma occurences by `{-# OPTIONS_GHC ... #-}` pragmas.
* Define ListSetOps.getNth, and use itSimon Peyton Jones2013-01-021-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)
* Change more uses of sortLe to sortByIan Lynagh2012-06-221-2/+1
|
* Remove some more unused functionsIan Lynagh2012-06-221-28/+0
|
* Remove some more unused function from ListSetOpsIan Lynagh2012-06-221-22/+0
|
* Remove an unused functionIan Lynagh2012-06-221-20/+0
|
* Merge remote-tracking branch 'origin/master' into type-natsIavor S. Diatchki2012-03-131-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: compiler/coreSyn/CoreLint.lhs compiler/deSugar/DsBinds.lhs compiler/hsSyn/HsTypes.lhs compiler/iface/IfaceType.lhs compiler/rename/RnHsSyn.lhs compiler/rename/RnTypes.lhs compiler/stgSyn/StgLint.lhs compiler/typecheck/TcHsType.lhs compiler/utils/ListSetOps.lhs
| * White space onlySimon Peyton Jones2012-03-021-4/+4
| |
* | Remove tabs, again.Iavor S. Diatchki2011-12-181-1/+1
| |
* | Remove tabs, so that I can push.Iavor S. Diatchki2011-12-181-9/+3
|/
* Use -fwarn-tabs when validatingIan Lynagh2011-11-041-0/+7
| | | | | We only use it for "compiler" sources, i.e. not for libraries. Many modules have a -fno-warn-tabs kludge for now.
* Add ListSetOps.removeRedundantSimon Peyton Jones2011-08-021-1/+20
| | | | It's needed in ghc/InteractiveUI, although not in the compiler itself
* Bleat a bit more informatively in unionListssimonpj@microsoft.com2011-01-261-2/+6
|
* Fix warnings in utils/ListSetOpsIan Lynagh2008-01-131-93/+81
|
* Fix CodingStyle#Warnings URLsIan Lynagh2007-09-041-1/+1
|
* Use OPTIONS rather than OPTIONS_GHC for pragmasIan Lynagh2007-09-031-2/+2
| | | | | | | Older GHCs can't parse OPTIONS_GHC. This also changes the URL referenced for the -w options from WorkingConventions#Warnings to CodingStyle#Warnings for the compiler modules.
* Add {-# OPTIONS_GHC -w #-} and some blurb to all compiler modulesIan Lynagh2007-09-011-0/+7
|
* Remove mapAccumL, mapAccumR, mapAccumBIan Lynagh2007-07-021-2/+2
| | | | | mapAccumL and mapAccumR are in Data.List now. mapAccumB is unused.
* Module header tidyup #2Simon Marlow2006-10-111-1/+3
| | | | Push this further along, and fix build problems in the first patch.
* Reorganisation of the source treeSimon Marlow2006-04-071-0/+227
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.