lqhuang.io
  • About
  • Writings
  • Notes
  • Projects
  • Tags

Tracking Side Effects in Scala

Date: May 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 ⤴

<-Accelerating UDP packet transmission for QUIC
You Should Compile Your Python And Here's Why->

Science × Tech × Design © Lanqing Huang 2025Last built at 2025-11-07T03:31:45Z with ❤️