Yet another alternative Haskell Prelude, but this one is awesome!
See the codeThe AwesomePrelude is reimplementation of the Haskell prelude in which all data types have been replaced with type classes. Embedded Domain Specific Languages (DSLs) can implement these type classes to get access to the functions defined in terms of the type classes.
For example: by implementing the BoolC type class, a DSL gets to use the (&&), (||) and not functions.
Additional contributions by:
70 commits
Haskell
95.6%
JavaScript
4.4%
Yet another alternative Haskell Prelude, but this one is awesome!
See the codeThe AwesomePrelude is reimplementation of the Haskell prelude in which all data types have been replaced with type classes. Embedded Domain Specific Languages (DSLs) can implement these type classes to get access to the functions defined in terms of the type classes.
For example: by implementing the BoolC type class, a DSL gets to use the (&&), (||) and not functions.
Additional contributions by:
70 commits
Haskell
95.6%
JavaScript
4.4%