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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T05:31:05+00:00 2026-05-30T05:31:05+00:00

let -forms are allowed to contain several expressions inside: (let ((x 4)) x (+

  • 0

let-forms are allowed to contain several expressions inside:

(let ((x 4))
   x
  (+ x 1))

returns 5.

How is this expression evaluated?

  • 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-30T05:31:07+00:00Added an answer on May 30, 2026 at 5:31 am

    The situation you’re describing occurs in several parts in Scheme, not only in a let expression. In the following …

    • After the list of variable bindings in a let expression
    • After the list of parameters in a lambda expression (and consequently, after the list of parameters in a procedure definition)
    • After each clause in a cond expression

    … you can write a list of expressions. Implicitly those expressions are enclosed inside a begin special form, the order of evaluation is from left to right, all the expressions are evaluated in turn but the value returned is that of the last expression.

    For example, this expression:

    (cond ((= 1 1) 1 2 3))
    

    Is equivalent to:

    (cond ((= 1 1) (begin 1 2 3)))
    

    In both cases, the returned value is 3, because that’s the value of the last expression in the list.

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

Sidebar

Related Questions

Let's say I have this form: class SimpleUploadForm(forms.Form): file = forms.FileField() I have this
I have an ASP .NET web application which uses Forms Authentication. Let's call this
Let say I have are two WPF forms: Form1 and Form2 . Form1 contains
In my windows forms applications I have a class that extends a backgroundworker, let's
The code I'm playing with is: open System open System.Windows.Forms open System.Drawing let tehform
Let's say I have an user registration form. In this form, I have the
in my application i have two forms let's say, LoginForm and AccountForm The LoginForm
Possible Duplicate: Can I use ASP.NET MVC together with regular ASP.NET Web forms Let's
Let's say you had a /companies resource that allowed clients to lookup public companies
Let's suppose I have 2 forms: FormA and FormB . On FormA button click

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.