Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

fibiter

Simple iterators in Rust that give Fibonacci numbers and other Lucas sequences

Examples

let f = fibiter::fibonacci();

for x in f.take(5) {
	println!("{}", x);
}

Output:

1
1
2
3
5
let l = fibiter::lucas_numbers();

for x in l.take(5) {
	println!("{}", x);
}

Output:

2
1
3
4
7

About

Simple iterators in Rust for Fibonacci numbers and other Lucas sequences

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages