Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion array dimension guaranteed to be a fixnum?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Bulent Murtezaoglu  
View profile  
 More options Feb 17 1999, 3:00 am
Newsgroups: comp.lang.lisp
From: Bulent Murtezaoglu <b...@acm.org>
Date: 1999/02/17
Subject: array dimension guaranteed to be a fixnum?

The hyperspec tells me that the array dimensions should be fixnums>=0.
I also checked the function array-dimension, this time the hyperspec says
it returns an integer.  Is this an oversight or am I missing something?  
I got curious about that when I discovered in code like

(dotimes (j (array-dimension foo 0))
    (do-something))    

j needed a fixnum declaration for the implicit increment operation to
be open coded.  I thought this was due to insufficient type-inference
on ACL, but apparently the hyperspec does not sanction what I was
after.  (I don't imagine the standard itself is different).  

???

BM


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.