Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7654719
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T12:19:43+00:00 2026-05-31T12:19:43+00:00

Sample code in page 144 of Touretzky’s Lisp book causes error on my environment.

  • 0

Sample code in page 144 of Touretzky’s Lisp book causes error on my environment. Is anything wrong with how I run?

(defun price-change (old new)
  (let* ((diff (- new old))
     (proportion (/ diff old))
     (percentage (* proportion 100.0)))
    (list ’widgets ’changed ’by percentage
       ’percent))
)

Here’s the error. I don’t understand why string “widgets” is evaluated…

Break 5 [7]> (price-change 1.25 1.35)

*** - LET*: variable ’WIDGETS has no value
The following restarts are available:
USE-VALUE      :R1      Input a value to be used instead of ’WIDGETS.
STORE-VALUE    :R2      Input a new value for ’WIDGETS.
ABORT          :R3      Abort debug loop
ABORT          :R4      Abort debug loop
ABORT          :R5      Abort debug loop
ABORT          :R6      Abort debug loop
ABORT          :R7      Abort debug loop
ABORT          :R8      Abort main loop

Environment: Ubuntu 11.10, GNU CLISP 2.49

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T12:19:44+00:00Added an answer on May 31, 2026 at 12:19 pm

    You need to use the quote character apostrophe: '. You did not. You have used a right quotation mark.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here is a sample code I'm working on: <%@ Page Language=C# AutoEventWireup=true CodeFile=Default.aspx.cs Inherits=_Default
I have followed the sample code on the Twilio github page and it doesn't
I was working on adding dynamic controls to asp page. In the sample code,
I'm looking for a sample/code snippet for a Mondrian style page layout for Dojo
Is it possible to load just tabs when page is loaded? Sample code: http://jsfiddle.net/MWtMR/2/
this page offered sample code that would be ideal for a task I'm working
I modified the sample code for Activator posted on the Oracle/Sun AWT tutorial page
From ACPI Spec 4.0 page 299, there is some sample code to show how
I want to some sample code in a html page. How do I do
here is the sample code: from mechanize import Browser br = Browser() page =

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.