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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T17:35:03+00:00 2026-05-27T17:35:03+00:00

When the authors implement the mutex part of serializers, they use a list called

  • 0

When the authors implement the mutex part of serializers, they use a list called cell. But the list only contains one element, so why not just use a variable?

  • 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-27T17:35:04+00:00Added an answer on May 27, 2026 at 5:35 pm

    Because a variable isn’t a first-class value that you can pass to another function. In 3.4, the authors implement a make-mutex function that uses clear! as a helper function, which takes a cell. If the cell were represented by a mutable variable, then clear! would have to be defined inside make-mutex! to close over that variable. The same goes for the test-and-set! helper function.

    They also could have used, say, a box instead of a cons cell.

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

Sidebar

Related Questions

Many people and authors suggested to us to use list than array. List <Integer>
Imagine I have a list of objects that implement an interface called ISummary The
I'm building an app that authors would (hopefully) use to help them, uh.. author
I've heard that some custom component authors use an RTL routine that checks to
I'm trying to understand how to best implement a polymorphic one-to-many in hibernate. Eg:
I want to implement robot's path planning subsystem. I'm going to use A* from
I'm trying to use Dot Liquid which is one of the coolest templating engines
I'm trying to implement svnperms into a repository, but am having difficulty with a
I am trying to implement search with Django haystack and solr, but I get
There are 3 authors in our company blog, each author has own site url

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.