Hey. I’m writing the parallel constructors for Eva...
# functional
a
Hey. I’m writing the parallel constructors for Eval right now to do something like
Eval.parallel({ op1 }, { op2 })
which would return
Eval<Tuple2<A, B>
. Now inside that method Paco told me to use the
defer
constructor of eval. What I was wondering is that then the function signature of
op1, op2, ...
has to be
() -> Eval<A>, () -> Eval<B>,...
. Is that the expected behaviour or do we want to pass functions with signature of
() -> A
. (Like in the
parallel
implementation I did for
Try
and
IO
)?