I just ran into this error "nested captures via & are not allowed" having 
no nested captures whatsoever,, but using captures in a chain of operations 
with custom operator, like this:
`value ~> &op/1 ~> &op2/1` where ~> is basically an alias for some 
function, so when rewritten it looks like this: `flat_map(flat_map(value, 
&op/1), &op2/1)` and it works totally fine. Is there a reason why this 
shouldn't be allowed or the compiler is wrong on detecting a nesting here?

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/58ed3f95-95cf-42e1-a39c-2eb29ca667d9n%40googlegroups.com.

Reply via email to