home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.scheme
- Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!swrinde!cs.utexas.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!spool.mu.edu!yale.edu!yale!gumby!destroyer!cs.ubc.ca!uw-beaver!newsfeed.rice.edu!rice!cs.rice.edu!dorai
- From: dorai@cs.rice.edu (Dorai Sitaram)
- Subject: Re: Unspecified values in R4RS
- Message-ID: <C1DG0r.7v6@rice.edu>
- Sender: news@rice.edu (News)
- Organization: Rice University, Houston
- References: <OZ.93Jan22114638@ursa.sis.yorku.ca> <1jpf3e$2m1@agate.berkeley.edu> <OZ.93Jan22174029@ursa.sis.yorku.ca>
- Date: Sun, 24 Jan 1993 18:43:38 GMT
- Lines: 26
-
- In article <OZ.93Jan22174029@ursa.sis.yorku.ca> oz@ursa.sis.yorku.ca (Ozan Yigit) writes:
- >But if you want trivial interactions such as these to work as you would
- >like them to, you may just as well do something like what David Kelsden
- >sent me the other day:
- >
- > (define void (string->symbol ""))
- >
- > (define (praise thing)
- > (display thing)
- > (display " is great!")
- > void)
- >
- >Is this not easier than changing the whole language definition? ;-)
-
- This isn't portable. Some Schemes (e.g., Chez), as also CL,
- preserve read/write invariance -- if you write a symbol,
- they let you read it back. Obviously then, the symbol for
- "" can't print as noshow. (Using some agreed-upon
- slashification standard, it prints as || or \<space> or some
- such.)
-
- --d
- --
-
- dorai@cs.rice.edu ! It may be that the gulfs will wash us down;
- dorai@owlnet.rice.edu ! it may be we shall touch the Happy Isles.
-