summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* Rationalise GhcMode, HscTarget and GhcLinkSimon Marlow2007-04-113-1/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch cleans up the GHC API, and adds some functionality: we can now compile to object code inside GHCi. Previously we had: data GhcMode = BatchCompile | Interactive | OneShot | JustTypecheck | MkDepend data HscTarget = HscC | HscAsm | HscJava | HscInterpreted | HscNothing There was redundancy here; if GhcMode is Interactive, then only HscInterpreted makes sense, and JustTypecheck required HscNothing. Now we have: data GhcMode = CompManager -- ^ --make, GHCi, etc. | OneShot -- ^ ghc -c Foo.hs | MkDepend -- ^ ghc -M, see Finder for why we need this and HscTarget remains as before. Previously GhcLink looked like this: data GhcLink = NoLink | StaticLink Now we have: data GhcLink = NoLink | LinkBinary | LinkInMemory The idea being that you can have an HscTarget of HscAsm (for example) and still link in memory. There are two new flags: -fobject-code selects object code as the target (selects either -fasm or -fvia-C, whichever is the default) This can be usd with ':set' in GHCi, or on the command line. -fbyte-code sets byte-code as the target. Only works in GHCi. One day maybe this could save the byte code in a file when used outside GHCi. (names chosen for consistency with -fno-code). Changes to the GHC API: newSession no longer takes the GhcMode argument. The GhcMode defaults to CompManager, which is usually what you want. To do JustTypecheck now, just set hscTarget to HscNothing.
* Document that ghci now adds () to the start of the type defaulting listIan Lynagh2007-03-291-18/+73
|
* remove old library doc link (#1098), and point to HackageDBSimon Marlow2007-03-282-11/+11
|
* remove docs for unimplemented optionsSimon Marlow2007-03-261-0/+2
| | | | | | -optdep--include-module and --optdep--exclude-directory were features of the old mkdependHS script but weren't implemented when mkdependHS was merged into GHC.
* Documentation for --install-signal-handlers=<yes|no>Ian Lynagh2007-03-221-0/+12
|
* Improve documentation of instancessimonpj@microsoft.com2007-03-221-14/+13
|
* Added LaTeX commands for primitive types and pseudo opssven.panne@aedion.de2007-03-141-0/+8
|
* Add helpful cross-referencessimonpj@microsoft.com2007-03-131-4/+8
|
* Remove references to the in-tree building guide from teh old commentaryIan Lynagh2007-03-062-3/+3
|
* Doc typoIan Lynagh2007-02-271-1/+1
|
* Fix defaulting for overloaded stringssimonpj@microsoft.com2007-02-211-1/+25
| | | | | | | | | This patch fixes the typechecking of the default declaration itself, when overloaded strings are involved. It also documents the behaviour in the user manual. nofib/spectral/power should work again now!
* describe the Z-encoding for __stginit symbol names (addresses #1014)Simon Marlow2007-02-201-1/+35
|
* Improved naming of generated HTML files by using nice IDssven.panne@aedion.de2007-02-0715-50/+50
|
* Make the User's Guide DocBook XML 4.2 conformant againsven.panne@aedion.de2007-02-073-38/+38
|
* Update to manual section for ticky-tickyKirsten Chevalier2007-02-071-3/+3
| | | | | I added a slightly more helpful remark in the profiling section of the manual about how to use ticky-ticky.
* clarify that -main-is sets main module and functionandrew.pimlott.ctr@metnet.navy.mil2007-01-311-1/+1
|
* some dynamic flags cannot be used with OPTIONS_GHC, e.g. -i, -packageSimon Marlow2007-02-012-7/+12
| | | | | fixes #1108
* Fix typoIan Lynagh2007-01-311-2/+2
|
* Fix a typoPepe Iborra2007-01-311-1/+1
|
* Add note about Template Haskell and mutual recursionsimonpj@microsoft.com2007-01-311-0/+8
|
* Document the overloaded string extension.lennart@augustsson.net2007-01-202-0/+66
|
* User's guide: length is not a good consumer anymore.Spencer Janssen2007-01-041-6/+0
|
* Documentation for the new ':breakpoint continue' commandPepe Iborra2007-01-151-2/+31
|
* Add a warning for tabs in source filesIan Lynagh2007-01-122-0/+19
|
* remove old building guide, change links to point to the wikiSimon Marlow2007-01-105-3876/+10
|
* reorganise text in the "using packages" sectionSimon Marlow2007-01-091-43/+28
|
* Extended the debugger documentation with a 'tips' sectionPepe Iborra2007-01-071-2/+40
|
* Updates to the ghci debugger docsPepe Iborra2006-12-311-23/+27
|
* Fixed errors in "clunky" definition for pattern guardsijones@syntaxpolice.org2007-01-071-2/+2
| | | | | | | Amusingly, this little error in the GHC manual came from the original SPJ proposal for pattern guards from 1997 and even slipped into the Haskell Workshop 2000 paper by SPJ and Martin Erwig. It's almost 10 years old.
* Standalone deriving wibbles: keyword is 'derive' not 'derived'; and add flag ↵simonpj@microsoft.com2007-01-021-1/+1
| | | | documentation
* Docmunent stand-alone derivingsimonpj@microsoft.com2007-01-021-332/+278
| | | | | I also re-organised the type-system extension section, which has grown rather big.
* Update reference to configure.in to refer to configure.ac insteadIan Lynagh2006-12-311-1/+1
|
* Standardized Makefile for man pagesven.panne@aedion.de2006-12-301-31/+17
| | | | | | | | | | | Use our standard build machinery for building, installing and cleaning the man page. Do not use deprecated -<num> option for 'head'. Use $(RM) instead of explicit 'rm -f' for better portability. Note that we always build/install the man page with the 'install-docs' target now, this is the usual behaviour. "GhcManpages is dead, Jim..." This patch should unbreak 'make dist', too.
* Improve documentation about packagessimonpj@microsoft.com2006-12-221-63/+83
|
* Documentation for class contexts in data-constructor declarationssimonpj@microsoft.com2006-12-221-193/+311
|
* GHCi debugger documentationPepe Iborra2006-12-102-2/+329
|
* Fix typosimonpj@microsoft.com2006-12-081-1/+1
|
* Add release note that Network.CGI.Compat uses XHtml rather than HtmlIan Lynagh2006-12-061-0/+8
|
* Add documentation for seqsimonpj@microsoft.com2006-12-041-0/+28
|
* Make a ghc/ghci manpageIan Lynagh2006-12-053-1/+336
| | | | Set GhcManpages=YES in mk/build.mk if you want to build the manpage.
* add Windows-specific GHCi information, and a FAQ about ^C in GHCi on WindowsSimon Marlow2006-12-052-2/+48
|
* update the question about concurrent threads & GHCiSimon Marlow2006-12-051-4/+3
|
* Decouple -O from -fvia-Cwolfgang.thaller@gmx.net2006-12-013-13/+3
| | | | | | Nowadays, there are situations where -fvia-C is definitely unwanted, such as when -fPIC is used on some platforms, so we do not want implicit -fvia-C any more.
* Update library version numbers in release notesIan Lynagh2006-10-091-3/+3
|
* Document new -L RTS flagIan Lynagh2006-11-141-1/+14
|
* Move --help, --version etc to 4.4 (modes) because that is what they really aresimonpj@microsoft.com2006-10-301-74/+71
|
* Fixed spelling error in compiler/ghci/InteractiveUI.hs and ↵basvandijk@home.nl2006-10-111-1/+1
| | | | docs/users_guide/ghci.xml
* fix definition of fib in example codeSimon Marlow2006-10-121-3/+3
|
* fix definition of fib in example codeSimon Marlow2006-10-121-3/+3
|
* Use relative URLs when referring to libraries; push to 6.6 branchsimonpj@microsoft.com2006-10-111-2/+2
|