scsh-users
[Top] [All Lists]

Re: fluids (how to use them?) && #!optional

To: sperber@informatik.uni-tuebingen.de
Subject: Re: fluids (how to use them?) && #!optional
From: "Michal Maruška" <mmc@maruska.dyndns.org>
Date: Mon, 19 Nov 2001 13:12:59 +0100
Cc: scsh-news@zurich.ai.mit.edu
Comments: Hyperbole mail buttons accepted, v04.18.
Michal> 2/ #!optional  is legal in scheme,

> Ermh, no, not really.

ok, i was reading a _wrong_ manual [from scheme-7.5.17-src.tar.gz (MIT scheme)],
which is more handy (info is better than ps, isn't it)

scheme.info(Additional Notations), states:
`#!'
     This character sequence is used to denote a small set of named
     constants.  Currently there are only two of these, `#!optional' and
     `#!rest', both of which are used in the `lambda' special form to
     mark certain parameters as being "optional" or "rest" parameters.
     This notation is an MIT Scheme extension.



1/ fluids:
when i try:

| (define variable (make-fluid #t))

Error: undefined variable
       make-fluid
       (package user)

i was expecting an advice like: (require 'fluids)..... 
Should i suspect my installation bad?

<Prev in Thread] Current Thread [Next in Thread>