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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T18:47:05+00:00 2026-05-13T18:47:05+00:00

Can anyone help me out understanding the various parameter passing modes in Scheme? I

  • 0

Can anyone help me out understanding the various parameter passing modes in Scheme? I know Scheme implements parameter passing by value. But how about other modes?

Is there any good documentation for parameter passing in Scheme?

  • 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-13T18:47:06+00:00Added an answer on May 13, 2026 at 6:47 pm

    Scheme has only call-by-value function calls. There are other alternatives that can be implemented within the language, but if you’re a beginner then it’s best to not even try them at this point. If you’re looking for a way to pass values “by reference” — then one option that can sort of make it is to use macros, but you really shouldn’t go there. Instead, some Scheme implementations like PLT Scheme provide a “box value”: this is a kind of a container that is used like this:

    • You create a box holding <something> with (box <something>)
    • You get the value that is stored in a box with (unbox <some-box>)
    • You change the value that is stored in a box with (set-box! <some-box> <new-value>)

    Given these two, you can use such box objects “by value”, but their contents is actually a reference. This is very much like C, where all values (most, actually) are passed by-value, yet some of these values can be pointers that you can mutate. BTW, it’s best to avoid even these: in Scheme, functional programming is the more common choice and it is therefore better to start with that.

    (Once you are more fluent with Scheme, and if you’re using a Scheme with sufficient abstractions, then you can learn how to mimic lots of alternatives too.)

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

Sidebar

Related Questions

I am new in Symbian UIQ. So anyone can help me out about following
I would like to know if anyone can help me out with a problem
Can anyone help me out please? I'm confused. I want to set up my
I am new in Blackberry. Can anyone help me out for following queries? Which
Can anyone please help me to work out how to achieve the following? I
Anyone that can help me out will be very much appreciated. I seem to
Can anyone help? I have been designing a site using Javascript but the rest
I'm wondering if anyone with a better understanding of python and gae can help
Please, can anyone help me out on this : the piece of code below
Help, can anyone help out and explain the purpose of the Rhino Mocks 'Record'

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.