Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(- 1 (first vals)) should be (sub1 (first vals)) or (- (first vals) 1) #5

Open
wlz opened this issue Dec 16, 2013 · 1 comment
Open

Comments

@wlz
Copy link

wlz commented Dec 16, 2013

In 10-value-of-all-of-this.ss , method apply-primitive , line 332 ,
primitive sub1 here should be the decrement operation ;
If use (- 1 (first vals)) , the value will be 1 - (first vals) in infix expression , however , the right answer should be (first vals) -1. ;-)

@Lupeipei
Copy link

@wlz You are right. primitive sub1 here is something wrong. the right answer should be (- (first vals) 1) .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants