Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

Scheme empty list expression

(define x (cons 3 '()))
(write x)

Alternatively, you can define null first:

(define null '())
(define x (cons 3 null))
(write x)

Related Posts:

  1. What is the best Scheme interpreter or compiler?
  2. How does `let` work in Scheme?
  3. “cond”,”and” and “or” in Scheme
  4. In Scheme, what’s the point of “set!”?
  5. What is the difference between map and apply in scheme?
  6. Help explaining how `cons` in Scheme work?
  7. Scheme IDE for Windows
  8. Count occurrence of element in a list in Scheme?
  9. LISP SICP Video Lecture 2a Average Damp Question
  10. if else construction
  11. Scheme’s “expected a procedure that can be applied to arguments”
  12. Scheme console printing
Categories scheme Tags scheme
Issue with SourceTree while cloning a GitHub repository
how to search for a directory from the terminal in ubuntu

Leave a Comment Cancel reply

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 2026 Read For Learn
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress