#effects system?

3 messages · Page 1 of 1 (latest)

final jasper
wicked prism
#

IIRC, there is also discussion about adding effects to MLIR. Mojo may hook directly into that if that ever happens.

ocean zephyr
#

Different people mean different things when they say “effect system”. In your mind, what does an effect system do, and how would it improve Mojo?

Mojo already tracks exceptions in function signatures. It also tracks some kinds of mutation (argument mutation), and it will track additional kinds of mutation once references are finalized.