rust-in-ten-slides
rust-in-ten-slides copied to clipboard
Basic Syntax / Functions / Mention that functions are not curried
The slide: https://steveklabnik.github.io/rust-in-ten-slides/basic-syntax.html#4 should probably mention that the following is not a thing:
fn add (x: i32) -> (y : i32) -> i32 {
x + y
}
so that people used to FP (Haskell, Idris, Erlang, Ocaml, etc.) won't be confused.
I think this is probably too much for the Basic Syntax deck, as it's already pretty full. I think a full ten slides on functions and closures would include this, though 👍
Fair enough ;)