zlacker

[parent] [thread] 1 comments
1. shiro+(OP)[view] [source] 2007-07-06 21:21:06
> constant when called as a function simply returns itself.

I thought a sequence at a procedure position acted like aref, e.g. ("abc" 1) => #\b, right? So the automatic promotion of constant to constant-function occurs only for non-aggregate types?

replies(1): >>pg+h
2. pg+h[view] [source] 2007-07-06 23:01:02
>>shiro+(OP)
Right. (It was a revealing slip. I've already started thinking of indexable stuff as like functions.)
[go to top]