Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about chez-scheme

Read more about chez-scheme

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - chez-scheme

Literals in syntax-rules don't work in libraries in Scheme

I want to define new syntax. If I define it without a library, just (define-syntax sample1 (syntax-rules (:times) [(_ n :times body ...) (list n (sample1 body ...))] [(c body ...) ...
test-img

VOID404

scheme

lisp

chez-scheme

Votes: 0

Answers: 2

Latest Answer

This seems to work: Chez Scheme Version 9.5.7.6 > (library (alib) (export sample2 :times) (import (rnrs)) (define :times #f) (define-syntax sample2 (...
test-img

mnemenaut

Capturing the output of an external call as a string (in Chez Scheme)

Using Chez Scheme, I tried to capture the output of an external command into a string port (see https://www.scheme.com/csug8/io.html): (define output (with-output-to-string (lambda () (system "...
test-img

AlQuemist

string

scheme

port

chez-scheme

Votes: 0

Answers: 2

Latest Answer

(define output (get-string-all (car (process "ls -a")))) seems to work on MacOS
test-img

mnemenaut

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved