Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I have been looking at the distage example (https://github.com/7mind/distage-example), and it looks very promising for writing effectful programs that work both with ZIO and cats-effect as the effect implementation. Although I do wonder if the same can be achieved by defining the APIs in terms of a trifunctor effect, instead of the bifunctor effect type showcased in the example.
The only thing that is now missing from my ideal concept of a purely functional program with side effects is effect tracking itself. A way to guarantee that no Scala code can blockingly write to a file, unless it requires that capability in the effect "stack", like in https://effekt-lang.org/ . Would be useful to have a collection of best-effort lint rules that cover something like that.