... | ... | @@ -15,5 +15,10 @@ These are features which we might want to consider for removal or replacement wi |
|
|
- classes (no really, there are people who advocate this!)
|
|
|
- the Prelude (or at least, seriously trim it to the minimum possible)
|
|
|
- defaulting
|
|
|
|
|
|
- For removal: defaults are limited to certain classes. A tool like Hat, which transforms Haskell source, cannot transform the defaults, because there is no way make defaults apply to the transformed classes rather than the original ones.
|
|
|
- For replacement: Perhaps require a default clause to name the class being defaulted over, as well as the type to choose.
|
|
|
- class contexts on data definitions
|
|
|
|
|
|
- For removal: they add no extra useful expressivity that is not already present in the function signatures which use the datatype.
|
|
|
- record syntax |