Created
April 28, 2018 18:13
-
-
Save 7hoenix/dcb7778a4277b5c5464d7c431e2dca4b to your computer and use it in GitHub Desktop.
This file contains 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
Chapter 1 exercises: | |
Combinators: | |
1. yes | |
2. no | |
3. yes | |
4. yes | |
5. no | |
Diverge or not: | |
1. normal | |
2. diverge (since z can be subsittued via alpha reduction) | |
3. normal | |
Chapter 2: | |
Comprehension: | |
1. Add let in front of them | |
2. let multiplyByPi v = 3.14 * v | |
3. let multiplyByPi v = pi * v | |
parenthesis | |
1. 71 & 135 | |
2. Same | |
3. Second one produces significantly smaller results | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment