I understand that in:
fx = x + 1 where !y = undefined
the value of the bang pattern is that y must be evaluated to f .
Similarly:
fx = x + 1 where !(!a, !b) = (undefined, undefined)
the meaning is the same, wrt x and y .
But what do the signs of the explosion mean in:
fx = x + 1 where (!a, !b) = (undefined, undefined)
This does not seem to mean that undefined will be evaluated. When do hacking patterns take effect? Should a tuple of a template be forced? Can someone give an example where (!a, !b) = (..) is different from (a, b) = (..) ?
source share