mirror of
https://github.com/kennethreitz/dream-python.git
synced 2026-06-05 15:10:20 +00:00
234 B
234 B
__#My Dream:
- Algebraic Data Types a la Haskell
Example:
Let's define the set of natural numbers:
Nat = Z | S(Nat) with S being the operation "add one" and Z being zero.
- More freedom / built-in functions for memory management