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

error in fibonacci code example on the wiki #17

Open
manuelcaeiro opened this issue May 18, 2020 · 0 comments
Open

error in fibonacci code example on the wiki #17

manuelcaeiro opened this issue May 18, 2020 · 0 comments

Comments

@manuelcaeiro
Copy link

Greetings,
Please acknowledge that the code example for the fibonacci generator on your wiki page:
Introduction to newLISP/The basics
is not correct. (The fibonacci of 2 is 1, not 2)
This error can be easily corrected if you replace (if (< n 2)) for (if (< n 3)) in your example.

P.S.: I wouldn't mind to make the correction by editing the wiki, but I cannot because I use a public access to the internet with a VPN.

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

1 participant