Sam Westrick @shwestrick.bsky.social · 19/06/2025taking a go at oxcaml today first attempt: let's try a parallel reduction. Idea is to compute the "sum" of [f(lo), ..., f(hi-1)] in parallel, combining via some associative function g (and corresponding zero element, z). 1325 0
Sam Westrick @shwestrick.bsky.social · 19/06/2025however, this doesn't typecheck. We get an error that the return value of the reduction in the recursive call is contended. 130 0
Sam Westrick @shwestrick.bsky.social · 19/06/2025I believe what's happening here is that the result is being inferred as: 'a @ contended But why? 120 0