+ Flix supports algebraic effects, i.e. user-defined effects and handlers. + In particular, Flix supports multi-shot resumptions. +
+ ++ Effect-oriented programming, with algebraic effects, allow programmers to + write pure functions modulo effects. Effect handlers enable program reasoning, + modularity, and testability. +
+ +
+ For example, the program expresses a greeting
function that is pure
+ modulo the current time of the day. In main
we call the function
+ and handle the HourOfDay
effect by getting the real-world time
+ from Java's LocalDateTime
.
+
- Flix supports algebraic effects, i.e. user-defined effects and handlers. - In particular, Flix supports multi-shot resumptions. -
- -- Effect-oriented programming, with algebraic effects, allow programmers to - write pure functions modulo effects. Effect handlers enable program reasoning, - modularity, and testability. -
- -
- For example, the program expresses a greeting
function that is pure
- modulo the current time of the day. In main
we call the function
- and handle the HourOfDay
effect by getting the real-world time
- from Java's LocalDateTime
.
-