in reply to Re^5: map in void context
in thread map in void context
If you consider the "effect" of assignment to be returning the value of the right hand side, then perhaps changing the value of the variable is a side effect.I would say it exactly the opposite way: The effect of assignment is assigning a value. Its side-effect is that it also provides a return value (which just makes me wonder about list assignments ... must check if their return value really is a list of all assigned values).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: rv of list assignment (was "map in void context")
by ikegami (Patriarch) on Dec 21, 2008 at 21:10 UTC | |
by pat_mc (Pilgrim) on Dec 22, 2008 at 09:09 UTC | |
by tilly (Archbishop) on Dec 22, 2008 at 09:17 UTC | |
by ikegami (Patriarch) on Dec 22, 2008 at 13:29 UTC | |
by pat_mc (Pilgrim) on Dec 22, 2008 at 23:47 UTC |