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

  • Home
  • SEARCH
  • 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

Ask A Question

Stats

  • Questions 305k
  • Answers 305k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Split on whitespace or a word boundary: s = "if… May 13, 2026 at 8:59 pm
  • Editorial Team
    Editorial Team added an answer Cannot be done. In Oracle privileges are granted on specific… May 13, 2026 at 8:59 pm
  • Editorial Team
    Editorial Team added an answer Your UPDATE statement does not cause the generation of an… May 13, 2026 at 8:59 pm

Related Questions

I have run into a blocking scenario and need help. The problem is basically
I am looking at an asp.net application that makes calls to a database within
I can't seem to wrap my head around this, so I thought I'd post
What's up y'all, I am trying to write some code in Java that will
I'm a student looking for resources which can help me further understand how to

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.