fibfunc

command
v0.28.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Fibfunc implements a function that returns a function (a closure) generating Fibonacci sequence. Then it prints the first 46 numbers from the sequence. Adapted from tour.golang.org/moretypes/26.

Level: intermediate Topics: algorithms, math

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL