Is there something like `IO` (lazy, safe, etc.) th...
# arrow
r
Is there something like
IO
(lazy, safe, etc.) that does not use
Throwable
for the error type? My main issue is that
IO.raiseError
needs a
Throwable
and in my use case, constructing a stacktrace is too expensive.
r
BiFunctorIO is coming soon afaik which is exactly what you’re describing.
r
Any estimates on the delivery time for that?
r
Not sure, but it’s in the works now I believe.
a
I think the estimations aim for end of 2019
r
you can avoid constructing a stack trace by overriding fillInStackTrace
and returning yourself as a Throwable