tour_of_rust icon indicating copy to clipboard operation
tour_of_rust copied to clipboard

Include mention of functional programming

Open DoubleHyphen opened this issue 3 years ago • 1 comments

Tour of Rust has extensive mention of Rust's OOP capabilities, yet there is no mention of its FP capabilities. A quick overview of the TOC doesn't even appear to teach how to create closures! I believe that at the absolute minimum there should be a note about closures, map & filter and maybe also and_then, and quite possibly a small note on how to return functions from functions. I could attempt to write those myself if this is permitted.

DoubleHyphen avatar Apr 21 '21 19:04 DoubleHyphen

@DoubleHyphen Yes, I agree with you. This should definitely covered.

Zerotask avatar May 08 '21 14:05 Zerotask