I think the effect system is cool. How does Flix differ from Eff or Unison in this matter?
I think the effect system is cool. How does Flix differ from Eff or Unison in this matter?
The effect system in Flix is focused on a single effect: purity. It is very fine-grained (compared to e.g. systems based on rows) and it supports effect inference and effect polymorphism. Eff and Unison have richer effect systems - based on algebraic effects - which allow re-interpretation of effects. However these effects system struggle more with effect inference. For example, I believe that in Eff you only have a restricted form of effect polymorphism / the use of higher-order functions is more limited.
(I am one of the authors of Flix)
That does sound powerful! To be honest I have no idea what the implications of that are - but I guess that's why it's research!
Re: effect system.
The reason that I think algebraic effects are so cool is that they allow for trackable, side-effectful, and powerful abstractions.
To me it sounds like Flix's Pure/Impure effects offer a fine-grained form of taint tracking. Why do you think I should be excited about this? For example, why not Haskell's monad solution?
I hope I don't come off as confrontational, I'm genuinely interested :-).