[Various documentation improvements suggested by Bulat Ziganshin Ian Lynagh **20060925231855] { hunk ./docs/users_guide/6.6-notes.xml 20 - GHC's modules are now also bundled into a - ghc package, allowing programs to make use - of GHC as a library. The interface has not yet been properly - designed, so is subject to change. - - - - hunk ./docs/users_guide/6.6-notes.xml 292 - It is now possible, with the -I RTS flag, - to control the amount of idle time that happens before a major - GC is performed. There is more detail in - . + If the program is idle for a certain amount of time then GHC + will now take the opportunity to do a major garbage collection. + The amount of idle time that is required before that happens + is controlled by the new -I RTS flag. + There is more detail in . + + + + + It is now possible to control the frequency that the RTS clock + ticks at with the new -V RTS flag. This is + normally handled automatically by other flags, but this flag + is needed if you want to increase the resolution of the time + profiler. + For more details see . hunk ./docs/users_guide/6.6-notes.xml 317 - The flag, which makes libraries - smaller, can now be used with and hence + The flag, which when used to compile + libraries means executables using the library will be smaller, + can now be used with and hence hunk ./docs/users_guide/6.6-notes.xml 493 + For more details, see . hunk ./docs/users_guide/6.6-notes.xml 501 + For more details, see . hunk ./docs/users_guide/6.6-notes.xml 1620 + + + GHC As A Library + + Version number 6.6. + + + The internal modules of GHC are now available as a library, package + name ghc. + The interface has not been designed with use by other programs + in mind, so expect the API to vary radically in future + releases. + + + An introduction to using the library can be found + on the wiki. + + hunk ./docs/users_guide/glasgow_exts.xml 3781 -Generalised Algebraic Data Types +Generalised Algebraic Data Types (GADTs) hunk ./docs/users_guide/glasgow_exts.xml 3783 -Generalised Algebraic Data Types (GADTs) generalise ordinary algebraic data types by allowing you +Generalised Algebraic Data Types generalise ordinary algebraic data types by allowing you hunk ./docs/users_guide/glasgow_exts.xml 3804 -These and many other examples are given in papers by Hongwei Xi, and Tim Sheard. +These and many other examples are given in papers by Hongwei Xi, and +Tim Sheard. There is a longer introduction +on the wiki, +and Ralf Hinze's +Fun with phantom types also has a number of examples. Note that papers +may use different notation to that implemented in GHC. hunk ./docs/users_guide/phases.xml 728 - We use this feature for building GHC's libraries libraries + This only makes sense for libraries, where it means that + executables linked against the library are smaller as they only + link against the object files that they need. However, assembling + all the sections separately is expensive, so this is slower than + compiling normally. + We use this feature for building GHC's libraries }