Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

web: Update type-system.md #4831

Merged
merged 2 commits into from
Aug 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions web/book/src/reference/spec/type-system.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ Example of the mapping between PTS and two STSs:
**Algebraic types** - have a way of expressing sum and product types. In Rust,
sum would be an enum and product would be tuple or a struct. In SQL, product
would be a row, since it can contain different types, all at once. Sum would be
harder to express, see (this
post)[https://www.parsonsmatt.org/2019/03/19/sum_types_in_sql.html ].
harder to express, see
[this post](https://www.parsonsmatt.org/2019/03/19/sum_types_in_sql.html).

The value proposition here is that algebraic types give a lot modeling
flexibility, all while being conceptually simple.
Expand Down
Loading