summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* Add a link to hp2any from the profiling section.Simon Marlow2009-08-271-0/+5
|
* Improve docs on -XFlexibleContextssimonpj@microsoft.com2009-08-241-5/+14
|
* Improvements to record puns, wildcardssimonpj@microsoft.com2009-08-201-22/+92
| | | | | | | | | | | | | | | | | | | | | | | | | * Make C { A.a } work with punning, expanding to C { A.a = a } * Make it so that, with -fwarn-unused-matches, f (C {..}) = x does not complain about the bindings introduced by the "..". * Make -XRecordWildCards implies -XDisambiguateRecordFields. * Overall refactoring of RnPat, which had become very crufty. In particular, there is now a monad, CpsRn, private to RnPat, which deals with the cps-style plumbing. This is why so many lines of RnPat have changed. * Refactor the treatment of renaming of record fields into two passes - rnHsRecFields1, used both for patterns and expressions, which expands puns, wild-cards - a local renamer in RnPat for fields in patterns - a local renamer in RnExpr for fields in construction and update This make it all MUCH easier to understand * Improve documentation of record puns, wildcards, and disambiguation
* mention that INCLUDE pragmas are accepted, but ignoredSimon Marlow2009-08-021-18/+5
|
* remove docuumentation for -#include optionSimon Marlow2009-08-012-52/+0
|
* Add an extension to disable n+k patternsIan Lynagh2009-07-252-0/+19
|
* Remove note about avoiding use of #def in librariesSimon Marlow2009-07-231-9/+0
| | | | | It should be safe to use now that we aren't relying on C prototypes for foreign functions in via-C code.
* Documentation for stand-alone deriving (Trac #3012)simonpj@microsoft.com2009-07-231-6/+36
|
* Add tuple sections as a new featuresimonpj@microsoft.com2009-07-231-0/+38
| | | | | | | | | | | | | | | | This patch adds tuple sections, so that (x,,z) means \y -> (x,y,z) Thanks for Max Bolinbroke for doing the hard work. In the end, instead of using two constructors in HsSyn, I used just one (still called ExplicitTuple) whose arguments can be Present (LHsExpr id) or Missing PostTcType While I was at it, I did a bit of refactoring too.
* Add a -fwarn-dodgy-exports flag; fixes #1911Ian Lynagh2009-07-191-0/+15
| | | | This is used to control warnings that were previously unconditional.
* Typo fixes, from Alexey MahotkinIan Lynagh2009-07-171-6/+6
|
* Fix a flag name in the docsIan Lynagh2009-07-141-1/+1
|
* Add the -fno-shared-implib flagIan Lynagh2009-07-142-0/+28
| | | | | | Patch from Max Bolingbroke <batterseapower@hotmail.com> Rerecorded to avoid conflicts.
* Make -fext-core a dynamic flag (it was a static flag)Ian Lynagh2009-07-051-1/+1
|
* Update a few points about shared libs in other sectionsDuncan Coutts2009-07-043-13/+15
| | | | And add links to the new shared libs section.
* Document -dynload flag. Also add it and -shared to the flags reference.Duncan Coutts2009-07-042-0/+26
|
* Add new section on using shared libsDuncan Coutts2009-07-043-1/+214
|
* Document foreign import prim in the user guideDuncan Coutts2009-07-041-0/+15
| | | | | Basically just stat that it exists and refer to the ghc dev wiki for the details, because we don't really want people using it.
* Support for -fwarn-unused-do-bind and -fwarn-wrong-do-bind, as per #3263Max Bolingbroke2009-07-012-2/+68
|
* New syntax for GADT-style record declarations, and associated refactoringsimonpj@microsoft.com2009-07-021-19/+60
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Change GHC_OPTIONS to OPTIONS_GHCIan Lynagh2009-06-101-1/+1
|
* Update the docs on how you bind unlifted types in let/where clausesIan Lynagh2009-06-051-7/+5
|
* Document -fwarn-lazy-unlifted-bindingsIan Lynagh2009-06-051-1/+16
|
* Fix typoIan Lynagh2009-06-051-1/+1
|
* Mention that generalised list comprehensions are enabled with ↵simonpj@microsoft.com2009-06-052-1/+2
| | | | -XTransformListComp
* Add a section "Multi-threading and the FFI"Simon Marlow2009-06-022-56/+131
| | | | and collect all the information about multi-threaded FFI use into it.
* Quote commands that we run, so they work if there are space in their pathsIan Lynagh2009-05-301-1/+1
| | | | | I've also added some missing $s to some makefiles. These aren't technically necessary, but it's nice to be consistent.
* Fix Trac #3262: suppress name-shadow warning for _namessimonpj@microsoft.com2009-05-281-0/+5
| | | | | | | Adopt Max's suggestion for name shadowing, by suppressing shadowing warnings for variables starting with "_". A tiny bit of refactoring along the way.
* Document the fact that Template Haskell type splices worksimonpj@microsoft.com2009-05-281-1/+3
|
* Fix Trac #3013: multiple constructors in a GADT declsimonpj@microsoft.com2009-05-281-0/+10
| | | | | | | | | Makes GADT syntax consistent by allowing multiple constructors to be given a single signature data T wehre A, B :: T C :: Int -> t
* Separate flags -XDeriveFunctor, -XDeriveFoldable, -XDeriveTraversablesimonpj@microsoft.com2009-05-281-6/+26
| | | | | | | See Trac #2953. This patch implements a distinct flag for each extended class that may be automatically derived. And I updated the user manual to reflect the fact that we can now derive Functor, Foldable, Traversable.
* document -XUnicodeSyntaxSimon Marlow2009-05-202-1/+70
|
* fix typoSimon Marlow2009-03-281-1/+1
|
* Add missing word, spotted by Tom LokhorstMax Bolingbroke2009-05-181-1/+1
|
* Remove some $(TOP)s that cause problems on Windows (as they contain ':')Ian Lynagh2009-05-161-1/+1
|
* expand hack to include PS docs tooSimon Marlow2009-05-131-1/+1
|
* updates to the section describing the +RTS -s/-S output (#3211)Simon Marlow2009-05-111-16/+23
|
* stub makefileSimon Marlow2009-05-111-12/+2
|
* Hack to make the user's guide build in a linked build treeSimon Marlow2009-05-111-0/+15
| | | | See comment for details
* Handle deciding what docs to build betterIan Lynagh2009-05-082-1/+23285
| | | | | | | Now we have variables for whether or not to build the docbook docs as HTML, as PS, and as PDF. The configure script output now matches what the build system will do (except it cannot take account of any mk/build.mk settings, of course).
* Add a header to all build system files:Simon Marlow2009-04-281-0/+11
| | | | | | | | | | | | | | # ----------------------------------------------------------------------------- # # (c) 2009 The University of Glasgow # # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see # http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture # http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying # # -----------------------------------------------------------------------------
* GHC new build system megapatchIan Lynagh2009-04-263-4/+7
|
* update the intro sectionSimon Marlow2009-04-011-10/+61
|
* Remove the "Installing GHC" sectionSimon Marlow2009-04-013-534/+0
| | | | | | | | | 1. it was out of date in various ways 2. this is not the place people look for installation instructions 3. we have installation instructions elsewhere (e.g. the INSTALL file in a binary distribution) 4. the section "layout of installed files" is now on the wiki under Building/Installing.
* Add "+RTS -N" to determine the -N value automatically (see #1741)Simon Marlow2009-03-131-3/+13
|
* Document -fwarn-unrecognised-pragmas; fixes trac #3031Ian Lynagh2009-03-053-1/+25
|
* Fix a broken link. Spotted by Norman Ramsey in trac #3068.Ian Lynagh2009-03-041-1/+1
|
* Fix spelling (Trac#3069)simonpj@microsoft.com2009-03-041-1/+1
|
* Improve documentation of bang patternssimonpj@microsoft.com2009-02-271-15/+45
|
* Tweak +RTS --info docsIan Lynagh2009-02-271-15/+51
|