in reply to Re^11: chopping a string into slices - is there a more elegant way to do it?
in thread chopping a string into slices - is there a more elegant way to do it?
This is great. Okay, I believe I see your point more clearly.
You're basically saying that the list assignment is chosen because at compile-time the LHS is recognized as a list. Context is a run-time issue, so that is a completely separate thing and can't influence which assignment we pick.
Am I understanding this correctly?
Wow. You'd think an old Forth programmer like me would have caught the compile-time vs. run-time thing a bit faster.
Thanks for explaining this.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^13: chopping a string into slices - is there a more elegant way to do it?
by ikegami (Patriarch) on Dec 01, 2008 at 03:16 UTC | |
by LanX (Saint) on Dec 01, 2008 at 13:21 UTC | |
|
Re^13: chopping a string into slices - is there a more elegant way to do it?
by ikegami (Patriarch) on Dec 01, 2008 at 02:46 UTC | |
by gwadej (Chaplain) on Dec 01, 2008 at 02:52 UTC |