Changes between Version 1 and Version 2 of Prelude


Ignore:
Timestamp:
Dec 5, 2005 10:38:44 AM (9 years ago)
Author:
malcolm.wallace@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Prelude

    v1 v2  
    66 
    77Thus it might be useful to trim the Prelude down to the bare minimum possible.  Most users of e.g. list functions would then need to import Data.List, users of numeric functions would need to import Data.Numeric, and so on.  Of course, some users (e.g. university teachers) might want to collect a bunch of utility libraries into a single import resembling the current Prelude.  But the point is that they could choose the features they want to expose to students, and hide those they want to avoid as well.  For instance, there are certainly some teachers who would like to be able to ignore the class overloading system altogether at the beginning, then perhaps introduce the concept later on, once the basics have been covered. 
     8 
     9== Examples of proposals for restructuring the Prelude == 
     10 
     11 * revise the Numeric class hierarchy 
     12 * make String into a class rather than a type, with instances for `[Char]`, `PackedString`, etc