🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.scheme.c
Article #88

Implicit Forcing

#88
From: math1205
Date: Tue, 11 Sep 1990 01:28
18 lines
1192 bytes
How would one go about making forces implicit in a Scheme implementation?
From R3RS it seems such a thing is permissible and indeed implemented in
some versions. Does any know of such a version?

Would it be necessary to modify all primitive procedures such as car, + to
check for the presence of a promise where by default promises would be
self-evaluating. I suspect most primitive procedure require actual values,
the only ones I can think of that don't are: cons, list, 2nd arg of append,
set! and  user-defined procedure calls.

Also are there any nasty suprises install for somebody implementing the above,
like special cases, incompatiblity with other language features (e.g. garbage
collector, continuations)? Has anyone considered added this feature to
Scheme->C ?

Thanks in advance to replies.
Wayne Schou
MATH1205@waikato.ac.nz
Technical Details
Message-ID: <1525.26ece66a@waikato.ac.nz>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!comp.vuw.ac.nz!virtue!math1205

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!comp.vuw.ac.nz!virtue!math1205
From: math1205@waikato.ac.nz
Newsgroups: comp.lang.scheme.c
Subject: Implicit Forcing
Message-ID: <1525.26ece66a@waikato.ac.nz>
Date: 11 Sep 90 01:28:10 GMT
Organization: University of Waikato, Hamilton, New Zealand
Lines: 18