Skip to content

Commit

Permalink
chore: Backport #4831 to web (#4833)
Browse files Browse the repository at this point in the history
Co-authored-by: Apurva Mishra <[email protected]>
  • Loading branch information
prql-bot and mav3ri3k authored Aug 17, 2024
1 parent 4c1ccb7 commit 0a411de
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 0a411de

Please sign in to comment.