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
Page 78
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
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
 
Rasheed Abdul-Aziz  
View profile  
 More options Jul 15 2012, 10:52 pm
From: Rasheed Abdul-Aziz <squee...@gmail.com>
Date: Sun, 15 Jul 2012 19:52:27 -0700 (PDT)
Local: Sun, Jul 15 2012 10:52 pm
Subject: Page 78

I don't see why the objects-at function needs the objects list. I cobbled
up something that does not require it (using just my newly aquired skills,
so it could be aweful)

(defun objects-at (location object-locations)
  (labels ((at-location-p (object-location)
            (eq location (cadr object-location))))
    (mapcar #'car (remove-if-not #'at-location-p object-locations))
  )
)

Is there any special reason to use two lists? Even design-wise I can't see
a reason to keep a list of objects. If they're not in locations, than why
would they matter?


 
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.
Rivka Miller  
View profile  
 More options Jul 20 2012, 8:43 pm
From: Rivka Miller <rivkaumil...@gmail.com>
Date: Fri, 20 Jul 2012 17:43:05 -0700
Local: Fri, Jul 20 2012 8:43 pm
Subject: Re: Page 78

Its actually quite obvious

On Sun, Jul 15, 2012 at 7:52 PM, Rasheed Abdul-Aziz <squee...@gmail.com>wrote:


 
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.
End of messages
« Back to Discussions « Newer topic     Older topic »