Last active
August 29, 2015 13:57
-
-
Save netogallo/9364522 to your computer and use it in GitHub Desktop.
Exp Complexity
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| data ExpTree t = ExpTree t (ExpTree t) (ExpTree t) | |
| -- '.' denotes function composition in Haskell ie: | |
| -- (f . g) x == f (g x) | |
| f1 = ExpTree . ExpTree . ExpTree | |
| f2 = f1 . f1 . f1 . f1 | |
| f3 = f2 . f2 . f2 | |
| f4 = f3 . f3 . f3 . f3 | |
| main = undefined |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment