> Extra pair of []? What do you mean?
Sorry, my bad.
-sun
On Jan 15, 1:25 pm, James Reeves wrote:
> On Jan 15, 2:54 pm, wubbie wrote:
>
> > But in partial desctructuring, [[a [b]] has extra pair of outer-most
> > [] which leads to confusion. Any explanation on that?
>
> Extra pair of []? What
On Jan 15, 2:54 pm, wubbie wrote:
> But in partial desctructuring, [[a [b]] has extra pair of outer-most
> [] which leads to confusion. Any explanation on that?
Extra pair of []? What do you mean?
The destructuring pattern is: [[a [b]] & leftover]
The pattern you're matching is: (("one" ("two")
came across over the net the following examples.
I can understand full destructuring because "[" and "]"
mirrors the structure of tree.
But in partial desctructuring, [[a [b]] has extra pair of outer-most
[] which leads to confusion. Any explanation on that?
Also not sure about the last (on string