Ludovic Courtès
b3da54d181
Placate a number of `syntax-check' verifications.
...
- "filesystem" -> "file system"
- remove doubled words
- use EXIT_* macros instead of literal numbers
- update `syntax-check' exclusion files
2012-01-05 23:38:10 +01:00
Mark H Weaver
2f50d0a897
Fix documentation for vhash-fold and vhash-fold-right
...
* doc/ref/api-compound.texi (VHashes): Add missing `init' parameter in
documentation for vhash-fold and vhash-fold-right, and also improve
description.
* module/ice-9/vlist.scm (vhash-fold, vhash-fold-right): Rename formal
parameter `seed' to `init', to match documentation. Improve
docstrings.
2011-12-30 23:26:32 -05:00
Ludovic Courtès
d5f7691782
doc: Fix typo regarding vhashes.
...
* doc/ref/api-compound.texi (VHashes): s/vlist-/alist-/.
2011-09-11 00:43:23 +02:00
Ludovic Courtès
19301dc56d
Add `vhash-fold-right'.
...
* module/ice-9/vlist.scm (vhash-fold-right): New procedure.
* test-suite/tests/vlist.test ("vhash")["vhash-fold-right"]: New test.
* doc/ref/api-compound.texi (VHashes): Document `vhash-fold-right'.
2011-05-08 18:20:42 +02:00
Neil Jerram
679cceeda4
Misc textual editing
...
* doc/ref/api-scheduling.texi (Asyncs): "queueing" -> "queuing".
* benchmark-suite/lib.scm, doc/sources/unix.texi (Unix conventions),
test-suite/lib.scm: "postpend" -> "append".
* doc/ref/api-compound.texi (Array Syntax, Dictionary Types),
doc/ref/api-control.texi (Catch), doc/ref/api-data.texi (Complex
Numbers, Conversion, Random, Symbol Props, Symbol Uninterned),
doc/ref/api-options.texi (Build Config, Common Feature Symbols),
doc/ref/api-regex.texi (Match Structures),
doc/ref/api-undocumented.texi, doc/ref/compiler.texi (Tree-IL,
GLIL), doc/ref/data-rep.texi (Immediate objects), doc/ref/goops.texi
(Slot Description Example), doc/ref/history.texi (A Scheme of Many
Maintainers, Status), doc/ref/libguile-program.texi (Available
Functionality), doc/ref/misc-modules.texi (Formatted Output),
doc/ref/mod-getopt-long.texi (getopt-long Reference),
doc/ref/posix.texi (Network Socket Address, Network Sockets and
Communication), doc/ref/srfi-modules.texi (SRFI-1 Association Lists,
SRFI-10, SRFI-19 String to date, SRFI-27 Random Sources),
doc/ref/vm.texi (Instruction Set, Top-Level Environment
Instructions, Procedure Call and Return Instructions),
doc/sources/unix.texi (Unix conventions): Correct spacing after
"i.e." and "e.g.".
2011-02-13 22:13:33 +00:00
Neil Jerram
66c33af01c
Reword intro of `Accessing Arrays from C'
...
* doc/ref/api-compound.texi (Accessing Arrays from C): Reword to avoid
awkward "rectangularily organized".
2011-02-13 21:49:31 +00:00
Ralf Wildenhues
ecb8733562
docs: fix typos in manual, and a couple in code comments.
...
* doc/ref/api-binding.texi, doc/ref/api-compound.texi,
doc/ref/api-control.texi, doc/ref/api-debug.texi,
doc/ref/api-io.texi, doc/ref/api-macros.texi,
doc/ref/api-procedures.texi, doc/ref/api-scheduling.texi,
doc/ref/api-undocumented.texi, doc/ref/api-utility.texi,
doc/ref/compiler.texi, doc/ref/goops.texi,
doc/ref/libguile-concepts.texi, doc/ref/misc-modules.texi,
doc/ref/posix.texi, doc/ref/r6rs.texi, doc/ref/slib.texi,
doc/ref/srfi-modules.texi, doc/ref/sxml-match.texi,
doc/ref/tools.texi, doc/ref/vm.texi, doc/ref/web.texi,
doc/sources/env.texi, doc/sources/jimb-org.texi,
doc/sources/scheme-concepts.texi, doc/sources/unix.texi,
module/ice-9/optargs.scm: Fix typos.
* doc/r4rs/r5rs.texi: Likewise. Do not capitalize code symbols
even at the start of a sentence.
* doc/ref/api-data.texi: Likewise. Also, remove executable bit.
2011-02-09 22:28:49 +00:00
Ralf Wildenhues
d98e8fc180
docs: remove non-ASCII space from docs.
...
* doc/ref/api-compound.texi (Vector Accessing from C): Replace
0xa0 character with space.
2011-02-09 21:34:08 +00:00
Ludovic Courtès
927bf5e8cc
Add vhash-fold*' in
(ice-9 vlist)'.
...
* module/ice-9/vlist.scm (%vhash-fold*): New inline procedure.
(vhash-fold*, vhash-foldq*, vhash-foldv*): New procedures.
* test-suite/tests/vlist.test ("vhash")["vhash-fold*", "vhash-fold*
tail", "vhash-fold* interleaved", "vhash-foldq* degenerate"]: New
tests.
* doc/ref/api-compound.texi (VHashes): Add `vhash-fold*' & co.
2010-07-21 00:28:58 +02:00
Neil Jerram
26b9f90900
Merge branch 'master' into wip-manual-2
...
Conflicts:
doc/ref/api-procedures.texi
doc/ref/misc-modules.texi
(Caused by me removing `@page' from a couple of sections that have been modified
by others.)
2010-04-10 13:32:42 +01:00
Andy Wingo
a587d6a973
more fixes to equal? for arrays
...
* libguile/array-map.c (array_compare, scm_array_equal_p): Rewrite as
something that operates on the generic array handle infrastructure.
Based on array->list.
(scm_i_array_equal_p): Change the docs, as array-equal? is now the same
as equal?, except that it typechecks its args.
* doc/ref/api-compound.texi (Array Procedures): Update array-equal?
docs.
* libguile/deprecated.h:
* libguile/deprecated.c (scm_raequal): Deprecate.
* libguile/bytevectors.c (scm_bytevector_eq_p): Bugfix: bytevectors are
bytevector=? only if their element type is the same.
* libguile/eq.c (scm_equal_p): Only dispatch to scm_array_equal_p if
both args are arrays (generically).
* test-suite/tests/arrays.test ("equal?"): Add some more tests.
2010-04-01 00:25:06 +02:00
Ludovic Courtès
22ec6a31ed
Add `(ice-9 vlist)'.
...
* module/ice-9/vlist.scm, test-suite/tests/vlist.test,
benchmark-suite/benchmarks/vlists.bm: New files.
* module/Makefile.am (ICE_9_SOURCES): Add `vlist.scm'.
* test-suite/Makefile.am (SCM_TESTS): Add `tests/vlist.test'.
* benchmark-suite/Makefile.am (SCM_BENCHMARKS): Add
`benchmarks/vlists.bm'.
* doc/ref/api-compound.texi (VLists, VHashes): New nodes.
2010-02-03 00:02:14 +01:00
Andy Wingo
dfe13aa2c8
remove section on enclose-array
...
* doc/ref/api-compound.texi (Array Procedures): Remove section on
`enclose-array', as it doesn't exist any more.
2010-01-11 22:29:38 +01:00
Andy Wingo
27219b32c7
update uniform vector docs
...
* doc/ref/api-compound.texi (Uniform Numeric Vectors): Make a subsection
of "Vectors", and link out to SRFI-4, where the main text has been
moved.
* doc/ref/api-data.texi (Bytevectors as Uniform Vectors): New section.
* doc/ref/srfi-modules.texi (SRFI-4): Move body of uniform vector docs
here. Discuss new module separation. Discuss relation to bytevectors.
2010-01-07 23:30:02 +01:00
Neil Jerram
3323ec063c
Automatic manual updates following libguile docstring changes
...
Affecting the following procedures:
* doc/ref/api-compound.texi (Uniform Numeric Vectors):
uniform-array-read!
* doc/ref/api-data.texi (Complex): make-rectangular, string=?,
string<?, string<=?, string>?, string>=?, string-ci=?, string-ci<?,
string-ci<=?, string-ci>?, string-ci>=?, string-append/shared
* doc/ref/api-evaluation.texi (Reader Extensions): read-hash-extend
* doc/ref/api-procedures.texi (Procedures with Setters): procedure,
macro?, macro-type
* doc/ref/api-undocumented.texi: module-import-interface,
%method-more-specific?
* doc/ref/new-docstrings.texi: uniform-array->bytevector,
%start-stack, guardian-destroyed?, guardian-greedy?,
destroy-guardian!, gc-dump, gc-disable, gc-enable,
make-generalized-vector, set-primitive-generic!, nl-langinfo,
%warn-autocompilation-enabled, make-syncase-macro,
make-extended-syncase-macro, syncase-macro-type,
syncase-macro-binding, memoize-expression, unmemoize-expression,
memoized-expression-typecode, memoized-expression-data,
memoized-typecode, memoize-variable-access!, module-local-variable,
module-variable, eval-closure-module, module-transformer,
module-public-interface, define!, module-reverse-lookup, cddr,
make-promise, %get-stack-size, %string-dump, %symbol-dump,
string-bytes-per-char, uniform-vector-element-type,
uniform-vector-element-size, canonicalize-path, getrlimit, setrlimit
* doc/maint/guile.texi: Corresponding tracking updates.
2009-12-27 23:24:09 +00:00
Neil Jerram
2a7758fe23
Remove page breaks except before new chapters and indices
...
* doc/ref/api-binding.texi, doc/ref/api-compound.texi,
doc/ref/api-control.texi, doc/ref/api-data.texi,
doc/ref/api-debug.texi, doc/ref/api-evaluation.texi,
doc/ref/api-i18n.texi, doc/ref/api-io.texi, doc/ref/api-memory.texi,
doc/ref/api-modules.texi, doc/ref/api-options.texi,
doc/ref/api-overview.texi, doc/ref/api-procedures.texi,
doc/ref/api-scheduling.texi, doc/ref/api-smobs.texi,
doc/ref/api-translation.texi, doc/ref/api-utility.texi,
doc/ref/expect.texi, doc/ref/libguile-concepts.texi,
doc/ref/libguile-program.texi, doc/ref/misc-modules.texi,
doc/ref/repl-modules.texi, doc/ref/scheme-debugging.texi,
doc/ref/scheme-reading.texi, doc/ref/scheme-scripts.texi,
doc/ref/script-getopt.texi, doc/ref/scsh.texi,
doc/ref/srfi-modules.texi: Remove @page before @section.
2009-12-19 00:58:54 +00:00
Brian Gough
72b3aa56af
more typo fixes
...
More spelling corrections and fixes for doubled words (e.g. "the the")
--
Brian Gough
Network Theory Ltd,
Publishing Free Software Manuals --- http://www.network-theory.co.uk/
>From 7be02beedc739c32cce2c8ec8f4ac814c994a13f Mon Sep 17 00:00:00 2001
From: Brian Gough <bjg@gnu.org>
Date: Mon, 14 Dec 2009 22:06:22 +0000
Subject: [PATCH] fix various documentation typos (spelling & doubled words)
2009-12-18 00:53:34 +00:00
Brian Gough
8d7ee181be
Hash Table examples - hashq takes different number of arguments
...
In the "Hash Tables Example" in the manual, hashq needs 2 arguments
instead of 1 (patch below). I've updated the hash table output as
well to match the current version.
--
Brian Gough
Network Theory Ltd,
Publishing Free Software Manuals --- http://www.network-theory.co.uk/
>From fdb6101d2e064620746ebfc9f9cd28bbdd2470e8 Mon Sep 17 00:00:00 2001
From: Brian Gough <bjg@gnu.org>
Date: Mon, 14 Dec 2009 19:59:32 +0000
Subject: [PATCH] update docs for Hash Table Examples
hashq now takes two arguments
order of elements in hash table is different now
2009-12-18 00:49:20 +00:00
Neil Jerram
45867c2ace
Fix overfull hboxes
2009-08-04 12:10:16 +01:00
Neil Jerram
650ecada5e
Typos
2009-08-04 12:08:25 +01:00
Neil Jerram
dd57ddd5ed
Correction to doc on Accessing Arrays from C
...
Thanks to Ludovic for the new wording!
* doc/ref/api-compound.texi (Accessing Arrays from C): Correct text to
reflect the current implementation of scm_array_get_handle and
scm_array_handle_release - which don't actuall do any dynwind stuff.
2009-06-30 23:58:16 +01:00
Andy Wingo
5fa2deb3f7
minor doc tweaks
...
* doc/ref/api-compound.texi: Generalized vector doc fixups.
* doc/ref/api-data.texi: Minor fixes to bytevector docs.
2009-06-26 12:42:10 +02:00
Ludovic Courtès
438974d08d
Make bytevectors accessible using the generalized-vector API.
...
As a side effect, this allows compilation of literal bytevectors
("#vu8(...)"), which gets done by the generic array handling
of the GLIL->assembly compiler.
* doc/ref/api-compound.texi (Generalized Vectors): Mention bytevectors.
(Arrays, Array Syntax): Likewise.
* doc/ref/api-data.texi (Bytevectors as Generalized Vectors): New node.
* libguile/bytevectors.c (scm_i_bytevector_generalized_set_x): New.
* libguile/bytevectors.h (scm_i_bytevector_generalized_set_x): New
declaration.
* libguile/srfi-4.c (scm_i_generalized_vector_type,
scm_array_handle_uniform_element_size,
scm_array_handle_uniform_writable_elements): Add support for
bytevectors.
* libguile/unif.c (type_creator_table): Add `vu8'.
(bytevector_ref, bytevector_set): New functions.
(memoize_ref, memoize_set): Add support for bytevectors.
* libguile/vectors.c (scm_is_generalized_vector,
scm_c_generalized_vector_length, scm_c_generalized_vector_ref,
scm_c_generalized_vector_set_x): Add support for bytevectors.
* test-suite/tests/bytevectors.test ("Generalized Vectors"): New test
set.
2009-06-22 01:09:39 +02:00
Ludovic Courtès
b242715b28
Import documentation for the R6RS bytevector and port APIs.
...
* doc/ref/api-compound.texi (Uniform Numeric Vectors): Add xref to the
bytevector API.
* doc/ref/api-data.texi (Bytevectors): New node.
* doc/ref/api-io.texi (R6RS I/O Ports): New node.
2009-06-18 23:20:56 +02:00
Andy Wingo
fb0a63e879
fix printer in struct docs
...
* doc/ref/api-compound.texi (Vtables): Fix example printer.
2009-03-02 15:46:17 +01:00
Kevin Ryde
bf5df489e2
merge from 1.8 branch
2007-03-07 22:46:00 +00:00
Neil Jerram
9f1ba6a9a4
Doc typo fixes
2006-09-15 09:23:18 +00:00
Kevin Ryde
23f2b9a3de
merge from 1.8 branch
2006-06-17 23:15:59 +00:00
Ludovic Courtès
ad97642e70
Changes from arch/CVS synchronization
2006-06-13 08:14:01 +00:00
Kevin Ryde
1b09b607dd
merge from 1.8 branch
2006-04-16 23:18:55 +00:00
Marius Vollmer
661ae7ab6b
Renamed the "frames" that are related to dynamic-wind to "dynamic
...
contexts. Renamed all functions from scm_frame_ to scm_dynwind_.
Updated documentation.
2006-01-29 00:23:28 +00:00
Kevin Ryde
b167633ca0
(Retrieving Alist Entries): Revise for clarity and brevity.
2005-11-18 22:01:46 +00:00
Kevin Ryde
d8e49e6bd2
(List Modification): In filter, return may share a
...
tail with the input, as per docstring. In filter!, fix chopped off
note of modifying input.
2005-08-06 00:45:40 +00:00
Kevin Ryde
51ee57a435
(Pairs, List Syntax): Cross reference Expression Syntax for quoting.
2005-06-23 00:01:06 +00:00
Kevin Ryde
b83ecb8fb5
(Array Procedures): In array-in-bounds?, correction to example result.
2005-06-05 20:42:46 +00:00
Marius Vollmer
d34bd7d483
Clarifications from Ludovic Courtès. Thanks!
2005-05-22 18:03:03 +00:00
Marius Vollmer
35f957b20f
Fixed some typos and added some docs. Talk about concrete and
...
abstract hash tables.
2005-03-29 17:59:03 +00:00
Marius Vollmer
673ba2da04
Synchronized docstrings.
2005-03-04 17:56:31 +00:00
Marius Vollmer
ca6a8a38a4
Specify return type for scm_c_array_rank.
2005-03-04 14:21:01 +00:00
Kevin Ryde
d8c3fde933
More of:
...
(Shared Arrays): New section.
2005-02-28 22:58:03 +00:00
Kevin Ryde
b4b78f5d7d
(Shared Arrays): Rewrite make-shared-array for clarity, adding examples.
2005-02-28 22:57:10 +00:00
Kevin Ryde
e2535ee4a5
(Shared Arrays): New section.
2005-02-28 22:46:08 +00:00
Marius Vollmer
39b6cb8678
docs for scm_c_array_rank.
2005-02-28 02:45:10 +00:00
Kevin Ryde
2c1c0b1ffe
Some index entry capitalization.
2005-01-11 21:54:41 +00:00
Kevin Ryde
d1f9e10734
Lots of @deftypefn return type {} grouping for correct name in func index.
2005-01-11 21:53:48 +00:00
Marius Vollmer
8789459042
Docs for scm_array_handle_pos.
2005-01-11 00:35:20 +00:00
Marius Vollmer
1f69b36405
Fixed a typo...
2005-01-10 20:21:08 +00:00
Marius Vollmer
e581845ab1
Fixed typo.
2005-01-10 20:06:35 +00:00
Marius Vollmer
1d20a49534
Document new read/print syntax for empty arrays.
2005-01-10 19:07:24 +00:00
Marius Vollmer
5e7b8a3d71
Talk a bit out zero-rank and zero-size arrays.
2005-01-09 17:46:53 +00:00