1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-07-11 16:50:16 +02:00

Update src/idiomatic/leveraging-the-type-system.md

Co-authored-by: Dmitri Gribenko <gribozavr@gmail.com>
This commit is contained in:
Luca Palmieri
2025-07-07 16:20:51 +02:00
committed by GitHub
parent 7c32ec27aa
commit 0745d6503a

View File

@ -19,7 +19,8 @@ entire codebase.
Additional items speaker may mention: Additional items speaker may mention:
- Rust's type system borrows a lot of ideas from functional programming - Rust's type system borrows a lot of ideas from functional programming
languages.\ languages.
For example, Rust's enums are known as "algebraic data types" in languages For example, Rust's enums are known as "algebraic data types" in languages
like Haskell and OCaml. You can take inspiration from learning material geared like Haskell and OCaml. You can take inspiration from learning material geared
towards functional languages when looking for guidance on how to design with towards functional languages when looking for guidance on how to design with