dish

Crates.iodish
lib.rsdish
version0.0.1
sourcesrc
created_at2022-12-27 17:35:45.707236
updated_at2022-12-27 17:35:45.707236
descriptionAddition to core
homepage
repositoryhttps://github.com/mrMiiao/dish
max_upload_size
id746357
(mrMiiao)

documentation

README

[![crates.io](https://img.shields.io/crates/v/dish.svg)](https://crates.io/crates/dish) [![License](https://img.shields.io/crates/l/dish.svg)](https://choosealicense.com/licenses/mpl-2.0/) [![Documentation](https://img.shields.io/docsrs/dish/latest)](https://docs.rs/dish) # dish _**dish**_ provides several extensions for Rust's libcore. ## Examples: ### Find greatest count divisor of minimal and maximal numbers in a vector of usize: ```rust use dish::prelude::*; fn mmgcd(src: Vec) -> usize { src.into_iter() .min_max_pipe(Number::gcd) .unwrap() } ``` ### Find sum of all digits of a number: ```rust use dish::prelude::*; fn dgsum(n: T) -> u8 { n.digits() .sum() } ```
Commit count: 1

cargo fmt