<https://blog.jetbrains.com/kotlin/2020/08/kotlin-...
# arrow
i
has anybody run into problems with arrow 0.10.5 and kotlin 1.4's now defaulted
new type inference
https://kotlinlang.org/docs/reference/compatibility-guide-14.html#eager-type-variable-fixation-leads-to-a-contradictory-constraint-system ?
my whole build freezes, disabling new inference with the flag mentioned in the link above, makes it again functional
with 1.3 and pre-1.4 Intellij version, the IDE also contained possibility to not to enable new type inference, I had that disabled, otherwise the IDE stopped working after a few minutes of editing due to memory issues
why I think this might be arrow related: the module where the build stalls, uses arrow heavily
but I understand that this might not be realated to arrow at all, I'll try to put up a publicly available example on the issue and report it to jetbrains, just wanted to also ask here if somebody has encountered similar issues
update: combination of
curried
and
ap
caused the issue, switching to
mapN
resolved it