Skip to content

fibonacci example #102

@sanette

Description

@sanette

Just a stupid remark about the README file.
I know this is just for illustration, but choosing fib is could lead to questions here; maybe somewhere in the README one could mention that the usual sequential code is much faster

let fib n = let rec loop n = if n < 1 then (0, 1) else let x, y = loop (n-1) in y, (x+y) in snd (loop n);;

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions