Comments (2)
No, I think the code is correct as given. Your change doesn't break the code, but it makes it more obscure.
from eopl3.
No, I'm sorry. You are right. The code as written is definitely wrong.
Writing ((map f) cdr(x)) as you propose ought to work, though that would make false the sentence below the code, "This expression uses map twice".
Most likely the line in question should have been (foo (cdr(x)) .
I will update the errata. Thank you for your close reading!!
from eopl3.
Related Issues (20)
- Possible erratum for exercise 2.25 HOT 3
- A type error in example code ? HOT 2
- fact/k registerized has wrong fact1-cont? HOT 2
- exercise 2.20 (page 45) minor fix HOT 1
- exercise 7.28 example code HOT 1
- Some unmatched parentheses HOT 1
- CPS transformer from chapter 6 doesnโt handle variable scope correctly HOT 2
- Errata for Page 303 HOT 3
- Errata for Page 341 and 362 HOT 2
- Errata for Page 180 HOT 1
- MIT page link broken HOT 2
- SLLGEN cannot report error when input string is illegal. HOT 1
- Don't know how to setup HOT 1
- There's no pack in exercise 3.18
- The specifications for deref-exp and setref-exp are not quite correct HOT 1
- Maybe an erratum on page 116 HOT 1
- A question, how could I implement while and for similar to those of java in this interpreter?
- An erratum on page 226
- Errata for Exercise 2.19 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eopl3.