DEV Community

Discussion on: Functional programming for your everyday javascript: Composition techniques

Collapse
 
vonheikemen profile image
Heiker

Thank you for your feedback. I appreciate the information.

I'm aware that cat is not necessary I just needed to compose three functions in every version of the example. I have added a link to your comment in the note I put before the code, so people know what is the correct use of grep.

By the way, really cool what you did with Monads and Maybe (reminds me a bit of the Rust API).

That's cool because I got the idea of making these types of articles because I saw that Rust takes some ideas from functional programming and uses them in a really smart way. I thought that if they are useful in Rust then they can be useful in javascript.