Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [project @ 2000-01-05 11:20:23 by rrt] | rrt | 2000-01-05 | 1 | -1664/+0 |
| | | | | | VSGML files removed because of conversion from LinuxDoc to DocBook (now have just SGML files). | ||||
* | [project @ 1999-12-29 12:38:25 by simonpj] | simonpj | 1999-12-29 | 1 | -1/+4 |
| | | | | Clarification on output files | ||||
* | [project @ 1999-12-20 10:34:27 by simonpj] | simonpj | 1999-12-20 | 1 | -0/+37 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit implements a substantial re-organisation of the Prelude It also fixes a couple of small renamer bugs that were reported recently (notably, Sven pointed out that we weren't reporting unused imports properly) My original goal was to get rid of all "orphan" modules (i.e. ones with instance decls that don't belong either to a tycon or a class defined in the same module). This should reduce the number of interface files that have to be read when compiling small Haskell modules. But like most expeditions into the Prelude Swamp, it spiraled out of control. The result is quite satisfactory, though. GONE AWAY: PrelCCall, PrelNumExtra NEW: PrelReal, PrelFloat, PrelByteArr, PrelNum.hi-boot (The extra PrelNum.hi-boot is because of a tiresome thin-air Id, addr2Integer, which used to be in PrelBase.) Quite a lot of types have moved from one module to another, which entails some changes to part of the compiler (PrelInfo, PrelMods) etc, and there are a few places in the RTS includes and even in the driver that know about these home modules (alas). So the rough structure is as follows, in (linearised) dependency order [this list now appears in PrelBase.lhs] PrelGHC Has no implementation. It defines built-in things, and by importing it you bring them into scope. The source file is PrelGHC.hi-boot, which is just copied to make PrelGHC.hi Classes: CCallable, CReturnable PrelBase Classes: Eq, Ord, Functor, Monad Types: list, (), Int, Bool, Ordering, Char, String PrelTup Types: tuples, plus instances for PrelBase classes PrelShow Class: Show, plus instances for PrelBase/PrelTup types PrelEnum Class: Enum, plus instances for PrelBase/PrelTup types PrelMaybe Type: Maybe, plus instances for PrelBase classes PrelNum Class: Num, plus instances for Int Type: Integer, plus instances for all classes so far (Eq, Ord, Num, Show) Integer is needed here because it is mentioned in the signature of 'fromInteger' in class Num PrelReal Classes: Real, Integral, Fractional, RealFrac plus instances for Int, Integer Types: Ratio, Rational plus intances for classes so far Rational is needed here because it is mentioned in the signature of 'toRational' in class Real Ix Classes: Ix, plus instances for Int, Bool, Char, Integer, Ordering, tuples PrelArr Types: Array, MutableArray, MutableVar Does *not* contain any ByteArray stuff (see PrelByteArr) Arrays are used by a function in PrelFloat PrelFloat Classes: Floating, RealFloat Types: Float, Double, plus instances of all classes so far This module contains everything to do with floating point. It is a big module (900 lines) With a bit of luck, many modules can be compiled without ever reading PrelFloat.hi PrelByteArr Types: ByteArray, MutableByteArray We want this one to be after PrelFloat, because it defines arrays of unboxed floats. Other Prelude modules are much easier with fewer complex dependencies. | ||||
* | [project @ 1999-11-23 11:25:47 by simonpj] | simonpj | 1999-11-23 | 1 | -13/+51 |
| | | | | Add documentation about separate compilation | ||||
* | [project @ 1999-09-26 16:07:38 by sof] | sof | 1999-09-26 | 1 | -0/+11 |
| | | | | Doc'ed -fwarn-missing-fields | ||||
* | [project @ 1999-08-27 11:48:08 by simonpj] | simonpj | 1999-08-27 | 1 | -0/+3 |
| | | | | | | | | | | | When deciding if a module is a "library" module, allow C:/ C:\ as prefixes of the path, not just / We need to improve this hack, but this fix makes things work on Windoze. | ||||
* | [project @ 1999-08-26 15:59:06 by simonmar] | simonmar | 1999-08-26 | 1 | -3/+3 |
| | | | | | | Move the rest of the Concurrent Haskell documentation into the GHC/Hugs libraries document, so it now all lives in one place. Also update and tidy it up somewhat. | ||||
* | [project @ 1999-08-24 15:33:09 by simonmar] | simonmar | 1999-08-24 | 1 | -11/+12 |
| | | | | Add -D__HASKELL__=98 | ||||
* | [project @ 1999-08-24 09:31:07 by simonpj] | simonpj | 1999-08-24 | 1 | -6/+14 |
| | | | | Document the -i effect on recompilation | ||||
* | [project @ 1999-08-23 15:55:58 by simonmar] | simonmar | 1999-08-23 | 1 | -5/+1 |
| | | | | -fno-cpr ==> -fno-cpr-analyse | ||||
* | [project @ 1999-08-23 15:05:28 by simonpj] | simonpj | 1999-08-23 | 1 | -0/+8 |
| | | | | Add -fno-cpr option | ||||
* | [project @ 1999-07-27 07:42:31 by simonpj] | simonpj | 1999-07-27 | 1 | -13/+28 |
| | | | | Add a bit more info about hi-boot files | ||||
* | [project @ 1999-07-14 08:41:21 by simonmar] | simonmar | 1999-07-14 | 1 | -2/+2 |
| | | | | Small typos from Wolfram Kahl. | ||||
* | [project @ 1999-05-21 14:48:52 by sof] | sof | 1999-05-21 | 1 | -0/+16 |
| | | | | documented -no-hs-main option | ||||
* | [project @ 1999-04-06 09:48:01 by simonm] | simonm | 1999-04-06 | 1 | -0/+46 |
| | | | | Document -funbox-strict-fields. | ||||
* | [project @ 1999-02-22 10:22:34 by sof] | sof | 1999-02-22 | 1 | -15/+0 |
| | | | | Tweaks to make docs build cleanly | ||||
* | [project @ 1999-02-17 10:51:42 by sof] | sof | 1999-02-17 | 1 | -3/+11 |
| | | | | Document __HASKELL98__ | ||||
* | [project @ 1999-02-04 15:20:32 by sof] | sof | 1999-02-04 | 1 | -0/+15 |
| | | | | Document new -fwarn-type-defaults option. | ||||
* | [project @ 1998-12-02 13:17:09 by simonm] | simonm | 1998-12-02 | 1 | -152/+129 |
| | | | | Move 4.01 onto the main trunk. | ||||
* | [project @ 1998-04-30 20:52:26 by sof] | sof | 1998-04-30 | 1 | -8/+21 |
| | | | | Misc additions and fixes | ||||
* | [project @ 1998-02-03 12:05:28 by simonm] | simonm | 1998-02-03 | 1 | -2/+4 |
| | | | | missing </tag>. | ||||
* | [project @ 1998-02-02 14:52:08 by simonm] | simonm | 1998-02-02 | 1 | -7/+26 |
| | | | | | | | | | Split -fwarn-unused-names into -fwarn-unused-imports Warn about unused explicit imports. (in -W) -fwarn-unused-binds Warn about unused bindings (in -W) -fwarn-unused-matches Warn about unused names in pattern matches (not as useful, relegated to -Wall) | ||||
* | [project @ 1998-02-02 13:30:57 by simonm] | simonm | 1998-02-02 | 1 | -17/+114 |
| | | | | add section about breaking recursion between modules. | ||||
* | [project @ 1998-01-30 17:01:49 by simonm] | simonm | 1998-01-30 | 1 | -0/+1366 |
New SGML User Guide, first cut. |