lqhuang.io
HomeNotesProjects

Tracking Side Effects in Scala

Date: 5/23/2022 · Tags: #scala

This article1 is about how to use new features 234 from Scala 3 to distinguish side effects safely via type signatures in compile time.

Quite interesting to learn new syntax if you could implement them by yourself.

References:

Footnotes

  1. Tracking Side Effects in Scala ⤴

  2. Scala 3 Reference - Context Functions ⤴

  3. Scala 3 Reference - Erased Definitions ⤴

  4. Scala 3 Reference - CanThrow Capabilities ⤴


Science × Tech × Design © Lanqing Huang 2025 Build with ❤️