Rustkell is haskell like functions in rust.
More functions will come as I will need them.
Documentation
- tails: The tails function returns all final segments of the list, longest first.
Usage
Cargo.toml
[]
= "0.2"
main.rs
extern crate rustkell;
use DataList;
use Iterator;
Output:
> [1, 2, 3, 4]
> [2, 3, 4]
> [3, 4]
> [4]
> []
License
Licensed under the MIT license, see LICENSE