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 553373
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T11:35:53+00:00 2026-05-13T11:35:53+00:00

Something simple as this: Welcome to DrScheme, version 4.2.3 [3m]. Language: Lazy Scheme; memory

  • 0

Something simple as this:

Welcome to DrScheme, version 4.2.3 [3m].
Language: Lazy Scheme; memory limit: 128 megabytes.

> (let ((x 2) (y 10))
   (+ x y))

#<promise>

> 

I press enter for the let expression, and it gives me the #<promise>. What am I doing wrong?

  • 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-13T11:35:54+00:00Added an answer on May 13, 2026 at 11:35 am

    It says Language: Lazy Scheme;. I’m sure this means that you’re using a variant of scheme that runs lazily – i.e. it doesn’t evaluate an expression until the result is required. The way scheme will manage this internally will be by using scheme’s promise mechanism – instead of returning the result of an expression, a promise to calculate the result later is returned. You should be able to get the result explicitly by calling force against this promise.

    Here are a couple of references:

    • Wikipedia article on lazy evaluation.
    • Scheme r5rs on force and delay.

    A non-lazy scheme will behave in the way you expect.

    HTH

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

Sidebar

Related Questions

This is something simple I came up with for this question . I'm not
This has got to be something simple: I set up a frames page with
I'm trying to get this simple PowerShell script working, but I think something is
I've got a simple java class that looks something like this: public class Skin
I must be overlooking something simple. I'm setting a variable from a query result
I'm looking for something simple to use where the grammar is easy to define.
I want something simple in order to experiment/hack. I've created a lot interpreters/compilers for
I'm probably missing something simple here, but I can't find the answer elsewhere. I
I am attempting to do something simple (I thought) - securing my application using
I am looking for a .net templating engine - something simple, lightweight, stable with

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.