Difference between revisions of "The Other Prelude"
Jump to navigation
Jump to search
Uchchwhash (talk | contribs) (call for contribution) |
Uchchwhash (talk | contribs) (fmt, outline) |
||
Line 8: | Line 8: | ||
* <hask>TheOtherPrelude</hask> - Minimalistic module. |
* <hask>TheOtherPrelude</hask> - Minimalistic module. |
||
* <hask>TheOtherPrelude.Extension</hask> - Convenient definitions. |
* <hask>TheOtherPrelude.Extension</hask> - Convenient definitions. |
||
+ | |||
+ | == The Code == |
||
+ | Currently, the code is in Wiki form. If people do agree that the collaborative decisions begot something pretty, we'll have a group of files in darcs.haskell.org some time. |
||
+ | |||
+ | The imaginery Prelude as it stands, |
||
+ | |||
+ | <haskell> |
||
+ | </haskell> |
||
+ | |||
+ | How to use it, as it stands, |
||
+ | |||
+ | <haskell> |
||
+ | import Prelude () -- hide everything |
||
+ | import TheOtherPrelude -- get everything |
||
+ | import qualified TheOtherPrelude.Monad as M -- standard convention |
||
+ | </haskell> |
||
== See Also == |
== See Also == |
||
− | [[Mathematical prelude discussion]] - A numeric Prelude. Could this be merged into this one? |
+ | * [[Mathematical prelude discussion]] - A numeric Prelude. Could this be merged into this one? |
− | [[Prelude extensions]] and [[Prelude function suggestions]] - Unlike "The Other Prelude" they ''enhance'' the Prelude. |
+ | * [[Prelude extensions]] and [[Prelude function suggestions]] - Unlike "The Other Prelude" they ''enhance'' the Prelude. |
[[Category:Mathematics]] |
[[Category:Mathematics]] |
Revision as of 06:19, 21 December 2006
Call for Contribution
This fun project, called "The Other Prelude", and is a creative reconstruction of the standard Prelude. By disregarding history and compatibility, we get a clean sheet.
Naming Conventions
The principal is to make the names very readable for both beginners and category theorists (if any).
The Hierarchy
TheOtherPrelude
- Minimalistic module.TheOtherPrelude.Extension
- Convenient definitions.
The Code
Currently, the code is in Wiki form. If people do agree that the collaborative decisions begot something pretty, we'll have a group of files in darcs.haskell.org some time.
The imaginery Prelude as it stands,
How to use it, as it stands,
import Prelude () -- hide everything
import TheOtherPrelude -- get everything
import qualified TheOtherPrelude.Monad as M -- standard convention
See Also
- Mathematical prelude discussion - A numeric Prelude. Could this be merged into this one?
- Prelude extensions and Prelude function suggestions - Unlike "The Other Prelude" they enhance the Prelude.