[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multiple assignments?
| Conrad> Would a "null variable" be useful for list assignment?
|
| As you say, it's not needed, so I think it should be left out. But it
| would be nice if the implementation assigned to the variables in
| left-to-right order, so you could say
|
| (a b b c) = some-list
|
| and you would have the same effect.
In ML the placeholder is named ``_''. Since that's a legal shell
variable, one could use that.