3 ms·
A nice thing about Rust is that it brings many well established good ideas from the ML branch of languages to the curly brave branch of languages. And frankly d
by rayiner 4y ago
A nice thing about Rust is that it brings many well established good ideas from the ML branch of languages to the curly brave branch of languages. And frankly does a better job naming them (for people who weren’t math majors).
- chippiewill 4y agoA monad is just a monoid in the category of endofunctors. Seriously though, calling Algebraic Data Types an Enum was a stroke of genius.
- japanuspus 4y agoCompletely agree. This article [0] by Raphael Poss, explicitly listing how functional constructs look in Rust compared with "pure" functional languages is one of my favorite takes on Rust. [0]: https://dr-knz.net/rust-for-functional-programmers.html https://dr-knz.net/rust-for-functional-programmers.html