Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rationalise GhcMode, HscTarget and GhcLink | Simon Marlow | 2007-04-11 | 3 | -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 list | Ian Lynagh | 2007-03-29 | 1 | -18/+73 |
| | |||||
* | remove old library doc link (#1098), and point to HackageDB | Simon Marlow | 2007-03-28 | 2 | -11/+11 |
| | |||||
* | remove docs for unimplemented options | Simon Marlow | 2007-03-26 | 1 | -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 Lynagh | 2007-03-22 | 1 | -0/+12 |
| | |||||
* | Improve documentation of instances | simonpj@microsoft.com | 2007-03-22 | 1 | -14/+13 |
| | |||||
* | Added LaTeX commands for primitive types and pseudo ops | sven.panne@aedion.de | 2007-03-14 | 1 | -0/+8 |
| | |||||
* | Add helpful cross-references | simonpj@microsoft.com | 2007-03-13 | 1 | -4/+8 |
| | |||||
* | Remove references to the in-tree building guide from teh old commentary | Ian Lynagh | 2007-03-06 | 2 | -3/+3 |
| | |||||
* | Doc typo | Ian Lynagh | 2007-02-27 | 1 | -1/+1 |
| | |||||
* | Fix defaulting for overloaded strings | simonpj@microsoft.com | 2007-02-21 | 1 | -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 Marlow | 2007-02-20 | 1 | -1/+35 |
| | |||||
* | Improved naming of generated HTML files by using nice IDs | sven.panne@aedion.de | 2007-02-07 | 15 | -50/+50 |
| | |||||
* | Make the User's Guide DocBook XML 4.2 conformant again | sven.panne@aedion.de | 2007-02-07 | 3 | -38/+38 |
| | |||||
* | Update to manual section for ticky-ticky | Kirsten Chevalier | 2007-02-07 | 1 | -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 function | andrew.pimlott.ctr@metnet.navy.mil | 2007-01-31 | 1 | -1/+1 |
| | |||||
* | some dynamic flags cannot be used with OPTIONS_GHC, e.g. -i, -package | Simon Marlow | 2007-02-01 | 2 | -7/+12 |
| | | | | | fixes #1108 | ||||
* | Fix typo | Ian Lynagh | 2007-01-31 | 1 | -2/+2 |
| | |||||
* | Fix a typo | Pepe Iborra | 2007-01-31 | 1 | -1/+1 |
| | |||||
* | Add note about Template Haskell and mutual recursion | simonpj@microsoft.com | 2007-01-31 | 1 | -0/+8 |
| | |||||
* | Document the overloaded string extension. | lennart@augustsson.net | 2007-01-20 | 2 | -0/+66 |
| | |||||
* | User's guide: length is not a good consumer anymore. | Spencer Janssen | 2007-01-04 | 1 | -6/+0 |
| | |||||
* | Documentation for the new ':breakpoint continue' command | Pepe Iborra | 2007-01-15 | 1 | -2/+31 |
| | |||||
* | Add a warning for tabs in source files | Ian Lynagh | 2007-01-12 | 2 | -0/+19 |
| | |||||
* | remove old building guide, change links to point to the wiki | Simon Marlow | 2007-01-10 | 5 | -3876/+10 |
| | |||||
* | reorganise text in the "using packages" section | Simon Marlow | 2007-01-09 | 1 | -43/+28 |
| | |||||
* | Extended the debugger documentation with a 'tips' section | Pepe Iborra | 2007-01-07 | 1 | -2/+40 |
| | |||||
* | Updates to the ghci debugger docs | Pepe Iborra | 2006-12-31 | 1 | -23/+27 |
| | |||||
* | Fixed errors in "clunky" definition for pattern guards | ijones@syntaxpolice.org | 2007-01-07 | 1 | -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.com | 2007-01-02 | 1 | -1/+1 |
| | | | | documentation | ||||
* | Docmunent stand-alone deriving | simonpj@microsoft.com | 2007-01-02 | 1 | -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 instead | Ian Lynagh | 2006-12-31 | 1 | -1/+1 |
| | |||||
* | Standardized Makefile for man page | sven.panne@aedion.de | 2006-12-30 | 1 | -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 packages | simonpj@microsoft.com | 2006-12-22 | 1 | -63/+83 |
| | |||||
* | Documentation for class contexts in data-constructor declarations | simonpj@microsoft.com | 2006-12-22 | 1 | -193/+311 |
| | |||||
* | GHCi debugger documentation | Pepe Iborra | 2006-12-10 | 2 | -2/+329 |
| | |||||
* | Fix typo | simonpj@microsoft.com | 2006-12-08 | 1 | -1/+1 |
| | |||||
* | Add release note that Network.CGI.Compat uses XHtml rather than Html | Ian Lynagh | 2006-12-06 | 1 | -0/+8 |
| | |||||
* | Add documentation for seq | simonpj@microsoft.com | 2006-12-04 | 1 | -0/+28 |
| | |||||
* | Make a ghc/ghci manpage | Ian Lynagh | 2006-12-05 | 3 | -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 Windows | Simon Marlow | 2006-12-05 | 2 | -2/+48 |
| | |||||
* | update the question about concurrent threads & GHCi | Simon Marlow | 2006-12-05 | 1 | -4/+3 |
| | |||||
* | Decouple -O from -fvia-C | wolfgang.thaller@gmx.net | 2006-12-01 | 3 | -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 notes | Ian Lynagh | 2006-10-09 | 1 | -3/+3 |
| | |||||
* | Document new -L RTS flag | Ian Lynagh | 2006-11-14 | 1 | -1/+14 |
| | |||||
* | Move --help, --version etc to 4.4 (modes) because that is what they really are | simonpj@microsoft.com | 2006-10-30 | 1 | -74/+71 |
| | |||||
* | Fixed spelling error in compiler/ghci/InteractiveUI.hs and ↵ | basvandijk@home.nl | 2006-10-11 | 1 | -1/+1 |
| | | | | docs/users_guide/ghci.xml | ||||
* | fix definition of fib in example code | Simon Marlow | 2006-10-12 | 1 | -3/+3 |
| | |||||
* | fix definition of fib in example code | Simon Marlow | 2006-10-12 | 1 | -3/+3 |
| | |||||
* | Use relative URLs when referring to libraries; push to 6.6 branch | simonpj@microsoft.com | 2006-10-11 | 1 | -2/+2 |
| |