Skip to content

error in fibonacci code example on the wiki #17

Open
@manuelcaeiro

Description

@manuelcaeiro

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions