Expand description
Make any type have some fun.
This is convenient when you want to insert some function call in a chain without reordering it or create intermediate variables.
use have::Fun;
let sum = [1, 2, 3]
.fun(|v| println!("v is size {}", v.len()))
.iter()
.sum::<usize>();