4 ms·
Quick question: was there a time when Rust was closer to the syntax format of Haskell/Ocaml? e.g. Type declaration Function declaration
by wuschel 8y ago
Quick question: was there a time when Rust was closer to the syntax format of Haskell/Ocaml?
e.g.
Type declaration
Function declaration
- chrismorgan 8y agoNo. Rust has always had C-family syntax. You can look at the first public commit with the code at https://github.com/rust-lang/rust/tree/d6b7c96c3eb29b9244ece0c046d3f372ff432d04 https://github.com/rust-lang/rust/tree/d6b7c96c3eb29b9244ece... ; src/test/run-pass shows lots of examples of the syntax.