Changes between Version 4 and Version 5 of Prelude


Ignore:
Timestamp:
Dec 9, 2005 4:49:49 PM (8 years ago)
Author:
simonmar@…
Comment:

add some slightly more concrete proposals

Legend:

Unmodified
Added
Removed
Modified
  • Prelude

    v4 v5  
    1212 * make String into a class rather than a type, with instances for `[Char]`, `PackedString`, etc 
    1313 
     14== Concrete proposals for deciding what to remove == 
     15 
     16 1. Remove entities that clash with other common libraries, which would otherwise require {{{import Prelude hiding}}}.  For example, a function called {{{catch}}} is also exported by {{{Control.Exception}}}, {{{take/drop}}} are also exported by {{{Data.Sequence}}}.  A list of these can easily be constructed. 
     17 2. Remove entities that are used in fewer than N% of modules (measure as much code as we can get our hands on, choose some appropriate N). 
     18 3. Decide what to keep. 
     19 
     20For the record I (Simon M.) support doing at the very least (1), and I'm interested in measuring code along the lines of (2) so that we can find out what things are hardly ever used.  (3) is rather less conservative. 
     21 
    1422== Comment == 
    1523