Skip to content

Instantly share code, notes, and snippets.

@7hoenix
Created April 28, 2018 18:13
Show Gist options
  • Save 7hoenix/dcb7778a4277b5c5464d7c431e2dca4b to your computer and use it in GitHub Desktop.
Save 7hoenix/dcb7778a4277b5c5464d7c431e2dca4b to your computer and use it in GitHub Desktop.
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