Skip to content
Open
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 content/pages/posts/algebraic-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Another example is modeling errors. In Go, when a function can return an error,
|Value 1|Value 2|Assumed|
|-|-|-|
|`present`|`null`|yes|
|`null` | `null` |yes|
|`null` | `present` |yes|
|`present`|`present`|no|
|`null`|`null`|no|

Expand Down Expand Up @@ -244,4 +244,4 @@ Thanks [Uğur](https://www.rugu.dev/) for his detailed and valuable feedback on
[^3]: [Cognitive load is what matters](https://minds.md/zakirullin/cognitive)
[^4]: [Visitor Pattern](https://en.wikipedia.org/wiki/Visitor_pattern)
[^5]: [No Silver bullet](https://www.cs.unc.edu/techreports/86-020.pdf)
[^6]: [Visitor is a sum type](https://blog.ploeh.dk/2018/06/25/visitor-as-a-sum-type/)
[^6]: [Visitor is a sum type](https://blog.ploeh.dk/2018/06/25/visitor-as-a-sum-type/)