~ chicken-core (chicken-5) 74119cff5d3abcce7aff3012915467d76bbc6e84
commit 74119cff5d3abcce7aff3012915467d76bbc6e84
Author: felix <felix@call-with-current-continuation.org>
AuthorDate: Thu Mar 4 09:36:57 2010 +0100
Commit: felix <felix@call-with-current-continuation.org>
CommitDate: Thu Mar 4 09:36:57 2010 +0100
merged some manual changes from wiki
diff --git a/manual/Deviations from the standard b/manual/Deviations from the standard
index b7a6bd2f..a36dd3e9 100644
--- a/manual/Deviations from the standard
+++ b/manual/Deviations from the standard
@@ -60,6 +60,8 @@ lambda-expressions.
== Non-deviations that might surprise you
+[4.3.1] {{let-syntax}} and {{letrec-syntax}} introduce a new scope.
+
[6.1] {{equal?}} compares all structured data recursively, while R5RS
specifies that {{eqv?}} is used for data other than pairs, strings and
vectors. However, R5RS does not dictate the treatment of data types
diff --git a/manual/Extensions b/manual/Extensions
index d0cb50d9..6c25f6c4 100644
--- a/manual/Extensions
+++ b/manual/Extensions
@@ -461,7 +461,7 @@ Available options:
; {{-s -sudo}} : use {{sudo(1)}} for installing or removing files
; {{-r -retrieve}} : only retrieve egg into current directory, don't install
; {{-n -no-install}} : do not install, just build (implies {{-keep}})
-; {{-p -prefix PREFIX}} : change installation prefix to {{PREFIX}}; note: this must be an absolute path
+; {{-p -prefix PREFIX}} : change installation prefix to {{PREFIX}}
; {{-host}} : when cross-compiling, compile extension for host
; {{-test}} : run included test-cases, if available
; {{-username USER}} : set username for transports that require this
diff --git a/manual/Getting started b/manual/Getting started
index 63cad4a1..b359d2ef 100644
--- a/manual/Getting started
+++ b/manual/Getting started
@@ -196,7 +196,7 @@ other useful documents. The list of eggs is at
A very useful search facility for questions about Chicken is found at
[[http://www.callcc.org]]. The Chicken issue tracker is at
-[[http://trac.callcc.org]].
+[[http://www.irp.oist.jp/trac/chicken/wiki]].
The Chicken community has two major mailing lists. If you are a
Chicken user, {{Chicken-Users}}
diff --git a/manual/Unit files b/manual/Unit files
index f0ff1c99..7d9e0985 100644
--- a/manual/Unit files
+++ b/manual/Unit files
@@ -27,8 +27,8 @@ For any component that is not contained in {{PATHNAME}}, {{#f}} is returned.
==== make-pathname
==== make-absolute-pathname
-<procedure>(make-pathname DIRECTORY FILENAME [EXTENSION [SEPARATOR]])</procedure><br>
-<procedure>(make-absolute-pathname DIRECTORY FILENAME [EXTENSION [SEPARATOR]])</procedure>
+<procedure>(make-pathname DIRECTORY FILENAME [EXTENSION])</procedure><br>
+<procedure>(make-absolute-pathname DIRECTORY FILENAME [EXTENSION])</procedure>
Returns a string that names the file with the
components {{DIRECTORY, FILENAME}} and (optionally)
@@ -40,8 +40,6 @@ directory component), a string or a list of strings. {{FILENAME}}
and {{EXTENSION}} should be strings or {{#f}}.
{{make-absolute-pathname}} returns always an absolute pathname.
-The {{[SEPARATOR]}} argument is deprecated.
-
==== pathname-directory
==== pathname-file
==== pathname-extension
diff --git a/manual/Unit library b/manual/Unit library
index 8c707302..676e4aef 100644
--- a/manual/Unit library
+++ b/manual/Unit library
@@ -1224,7 +1224,7 @@ be compared using {{eq?}}.
==== get
- <procedure>(get SYMBOL PROPERTY [DEFAULT])</procedure>
+<procedure>(get SYMBOL PROPERTY [DEFAULT])</procedure>
Returns the value stored under the key {{PROPERTY}} in the property
list of {{SYMBOL}}. If no such property is stored, returns
@@ -1232,29 +1232,29 @@ list of {{SYMBOL}}. If no such property is stored, returns
==== put!
- <procedure>(put! SYMBOL PROPERTY VALUE)</procedure>
- [setter] (set! (get SYMBOL PROPERTY) VALUE)
+<procedure>(put! SYMBOL PROPERTY VALUE)</procedure>
+setter: (set! (get SYMBOL PROPERTY) VALUE)
Stores {{VALUE}} under the key {{PROPERTY}} in the property list of
{{SYMBOL}} replacing any previously stored value.
==== remprop!
- <procedure>(remprop! SYMBOL PROPERTY)</procedure>
+<procedure>(remprop! SYMBOL PROPERTY)</procedure>
Deletes the first property matching the key {{PROPERTY}} in the property list
of {{SYMBOL}}. Returns {{#t}} when a deletion performed, and {{#f}} otherwise.
==== symbol-plist
- <procedure>(symbol-plist SYMBOL)</procedure>
- [setter] (set! (symbol-plist SYMBOL) LST)
+<procedure>(symbol-plist SYMBOL)</procedure>
+setter: (set! (symbol-plist SYMBOL) LST)
Returns the property list of {{SYMBOL}} or sets it.
==== get-properties
- <procedure>(get-properties SYMBOL PROPERTIES)</procedure>
+<procedure>(get-properties SYMBOL PROPERTIES)</procedure>
Searches the property list of {{SYMBOL}} for the first property with a key in
the list {{PROPERTIES}}. Returns 3 values: the matching property key, value,
diff --git a/manual/Unit utils b/manual/Unit utils
index 8154fb5d..ad92f7c1 100644
--- a/manual/Unit utils
+++ b/manual/Unit utils
@@ -81,7 +81,6 @@ A parameter that holds a list of default options that should be given
to {{csc}} after invocation of the {{compile-file}} procedure.
The initial default options are {{-scrutinize -O2 -d2}}.
-
=== Shell argument quoting
==== qs
diff --git a/manual/Using the interpreter b/manual/Using the interpreter
index 10e558ad..743eb2c2 100644
--- a/manual/Using the interpreter
+++ b/manual/Using the interpreter
@@ -37,7 +37,7 @@ The options recognized by the interpreter are:
; -I -include-path PATHNAME : Specifies an alternative search-path for files included via the {{include}} special form. This option may be given multiple times. If the environment variable {{CHICKEN_INCLUDE_PATH}} is set, it should contain a list of alternative include pathnames separated by {{;}}.
-; -K -keyword-style STYLE : Enables alternative keyword syntax, where {{STYLE}} may be either {{prefix}} (as in Common Lisp) or {{suffix}} (as in DSSSL). Any other value is ignored.
+; -k -keyword-style STYLE : Enables alternative keyword syntax, where {{STYLE}} may be either {{prefix}} (as in Common Lisp) or {{suffix}} (as in DSSSL). Any other value is ignored.
; -n -no-init : Do not load initialization-file. If this option is not given and the file {{./.csirc}} or {{$HOME/.csirc}} exists, then it is loaded before the read-eval-print loop commences.
@@ -79,7 +79,7 @@ The easiest way is to use the {{-script}} option like this:
read)))
% chmod +x foo
- % foo "(+ 3 4)"
+ % ./foo "(+ 3 4)"
7
The parameter {{command-line-arguments}} is set to a list of the
Trap