summaryrefslogtreecommitdiff
path: root/compiler/parser/HaddockUtils.hs
Commit message (Collapse)AuthorAgeFilesLines
* fix warningsSimon Marlow2009-09-081-4/+0
|
* remove Haddock-lexing/parsing/renaming from GHCIsaac Dupree2009-08-261-142/+7
|
* Remove unused importsIan Lynagh2009-07-071-3/+0
|
* New syntax for GADT-style record declarations, and associated refactoringsimonpj@microsoft.com2009-07-021-6/+5
| | | | | | | | | | | | | | | | | | | | | | | The main purpose of this patch is to fix Trac #3306, by fleshing out the syntax for GADT-style record declraations so that you have a context in the type. The new form is data T a where MkT :: forall a. Eq a => { x,y :: !a } -> T a See discussion on the Trac ticket. The old form is still allowed, but give a deprecation warning. When we remove the old form we'll also get rid of the one reduce/reduce error in the grammar. Hurrah! While I was at it, I failed as usual to resist the temptation to do lots of refactoring. The parsing of data/type declarations is now much simpler and more uniform. Less code, less chance of errors, and more functionality. Took longer than I planned, though. ConDecl has record syntax, but it was not being used consistently, so I pushed that through the compiler.
* Remove trailing whitespace from HaddockUtilsIan Lynagh2008-12-291-40/+40
|
* Fix warnings in HaddockUtilsIan Lynagh2008-12-291-12/+6
|
* Remove dead code from HaddockUtilsIan Lynagh2008-12-291-12/+0
|
* Avoid making Either String an instance of Monad in the Haddock parserDavid Waern2007-11-141-2/+2
|
* 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
|
* Merge Haddock comment support from ghc.haddock -- big patchdavve@dtek.chalmers.se2006-10-051-0/+184