Marius Vollmer
d817a70c3d
* unif.c (scm_bitvector_release): Added explicit call to
...
scm_remember_upto_here_1.
(scm_uniform_vector_elements,
scm_u8vector_elements, etc): Made return value "const".
(scm_uniform_vector_writable_elements,
scm_u8vector_writable_elements, etc): New.
(scm_uniform_vector_release, scm_uniform_vector_release_elements):
Renamed former to latter. Added explicit call to
scm_remember_upto_here_1.
(scm_frame_uniform_vector_release,
scm_frame_uniform_vector_release_elements): Renamed former to latter.
(scm_uniform_vector_release_writable_elements,
scm_frame_uniform_vector_release_writable_elements): New. Takes
crown of longest identifier yet.
Changed all uses as required by the changes above.
2004-12-27 02:11:16 +00:00
Marius Vollmer
b590aceb96
(scm_uniform_vector_elements,
...
scm_u8vector_elements, etc): Made return value "const".
(scm_uniform_vector_writable_elements,
scm_u8vector_writable_elements, etc): New.
(scm_uniform_vector_release, scm_uniform_vector_release_elements):
Renamed former to latter. Added explicit call to
scm_remember_upto_here_1.
(scm_frame_uniform_vector_release,
scm_frame_uniform_vector_release_elements): Renamed former to latter.
(scm_uniform_vector_release_writable_elements,
scm_frame_uniform_vector_release_writable_elements): New. Takes
crown of longest identifier yet.
Changed all uses as required by the changes above.
2004-12-27 02:10:14 +00:00
Marius Vollmer
1d0df896c9
(scm_c_vector_set_x): Make return type
...
void.
(scm_is_vector, scm_vector_p, scm_vector_length,
scm_c_vector_length, scm_vector_ref, scm_c_vector_ref,
scm_vector_set_x, scm_c_vector_set_x, scm_vector_to_list,
scm_vector_move_left_x, scm_vector_move_right_x,
scm_vector_fill_x): handle one-dimensional arrays.
(scm_vector_elements, scm_vector_release_elements,
scm_vector_frame_release_elements, scm_vector_writable_elements,
scm_vector_release_writable_elements,
scm_vector_frame_release_writable_elements): New.
(scm_list_to_vector, scm_vector_to_list, scm_vector_fill,
scm_vector_move_left_x, scm_vector_move_right_x): Use them.
2004-12-27 02:01:21 +00:00
Marius Vollmer
277e847212
*** empty log message ***
2004-12-27 00:11:43 +00:00
Marius Vollmer
ee67e2fa2c
(scm_ramapc, scm_raeql): Use
...
scm_c_generalized_vector_length instead of
scm_uniform_vector_length.
(scm_ramap, rafe): Use scm_c_vector_ref instead of SCM_VELTS. use
scm_c_generalized_vector_ref instead of scm_uniform_vector_ref.
2004-12-27 00:09:57 +00:00
Marius Vollmer
de5c0f5801
(scm_c_vector_set_x): Make return type
...
void.
(scm_is_vector, scm_vector_p, scm_vector_length,
scm_c_vector_length, scm_vector_ref, scm_c_vector_ref,
scm_vector_set_x, scm_c_vector_set_x, scm_vector_to_list,
scm_vector_move_left_x, scm_vector_move_right_x,
scm_vector_fill_x): handle one-dimensional arrays.
2004-12-27 00:00:07 +00:00
Marius Vollmer
de26705f94
Los typo fixos.
2004-12-26 23:56:43 +00:00
Marius Vollmer
49c5161012
*** empty log message ***
2004-12-23 15:32:17 +00:00
Marius Vollmer
4f2ec3becc
News tests for making stacks from continuations. From Neil Jerram.
2004-12-23 15:32:02 +00:00
Marius Vollmer
7f12a94355
(read_frame, read_frames, scm_make_stack, scm_last_stack_frame,
...
scm_stack_id): Use the new 'offset' member of continuations instead of
calculating the offset ourselves. Relocate 'vect' member of
scm_t_debug_frame.
2004-12-23 15:30:29 +00:00
Marius Vollmer
5c5c27dc0d
(scm_t_contregs): New 'offset' member for relocating debug frames.
...
(scm_make_continuation): Set it.
2004-12-23 15:30:16 +00:00
Marius Vollmer
e6e63c5632
*** empty log message ***
2004-12-22 15:33:28 +00:00
Marius Vollmer
2c5d049cc6
(Arrays): Reorganized and 'modernized'.
2004-12-22 15:33:18 +00:00
Marius Vollmer
3167d5e475
*** empty log message ***
2004-12-22 15:02:13 +00:00
Marius Vollmer
7064e449bd
Added open-pipe* and open-input-output-pipe.
2004-12-22 15:01:53 +00:00
Marius Vollmer
0f3eb62779
Support bidirectional communication by making open-pipe support
...
OPEN_BOTH as second argument and in that case return a soft
input-output port which uses two pipes internally. Provide open-pipe*
to execute programs without using the shell (and actually base
open-pipe on it) and the obvious open-input-output-pipe.
2004-12-22 15:01:24 +00:00
Marius Vollmer
0c5f718b64
(module-make-local-var!): When creating a new variable, initialize it
...
to the value of any imported variable with the given name. This
allows code like (define round round) to work as expected.
2004-12-22 14:50:56 +00:00
Mikael Djurfeldt
6dccc95033
expect.texi (Expect): Removed backslash escapes of regexp
...
operators ( and ) in code example for expect-strings.
2004-12-20 21:38:23 +00:00
Mikael Djurfeldt
e1ea3bf908
Update, document available SRFIs.
2004-12-20 21:20:52 +00:00
Kevin Ryde
3b2ee265fb
*** empty log message ***
2004-12-16 00:41:39 +00:00
Kevin Ryde
e96a9fada5
(scm_array_map_x): Check for at least one source argument.
2004-12-15 23:01:32 +00:00
Kevin Ryde
e120686ac0
*** empty log message ***
2004-12-14 00:23:52 +00:00
Kevin Ryde
fdc6aebfaf
(string-any, string-every): Use a scheme
...
wrapper around the C code so for the final call to the predicate
procedure is a tail call, per SRFI-13 spec.
2004-12-14 00:21:25 +00:00
Kevin Ryde
680b523714
*** empty log message ***
2004-12-13 22:40:08 +00:00
Kevin Ryde
a13befdcd3
(Regexp Functions): Revise regex-substitute and
...
regex-substitute/global for clarity, add some examples.
2004-12-13 22:37:31 +00:00
Kevin Ryde
edcd3e83d3
(lambda* Reference): Revise for clarity, note
...
how #:rest works with #:key, note previous bindings available to
default expressions.
2004-12-13 22:29:45 +00:00
Kevin Ryde
4450a22762
More of:
...
(scm_eq_p, scm_eqv_p, scm_equal_p): Update docstrings from
recent revision to the reference manual.
2004-12-10 00:49:51 +00:00
Kevin Ryde
86347b2bf3
*** empty log message ***
2004-12-10 00:42:42 +00:00
Kevin Ryde
3810edd92c
(inet-pton): New tests.
2004-12-10 00:42:20 +00:00
Kevin Ryde
2b4d15471c
(scm_from_ipv6): Just use mpz_import. Don't bother trying
...
to fit scm_from_ulong_long, since that uses mpz_import anyway. Don't
bother trying to fit scm_from_ulong, not really worth the trouble if
addresses are more than 4 bytes usually.
2004-12-10 00:41:33 +00:00
Kevin Ryde
66b1c775d2
(scm_modulo): Amend fixme comment about negative divisor
...
with "%", C99 says it's well-defined.
2004-12-10 00:00:27 +00:00
Kevin Ryde
602d32dd48
(scm_eq_p, scm_eqv_p, scm_equal_p): Update docstrings from
...
recent revision to the reference manual.
2004-12-09 23:49:46 +00:00
Kevin Ryde
ff758237f7
Let the string->number documented? test say "documented?".
2004-12-08 23:09:15 +00:00
Kevin Ryde
b9e1ef086b
*** empty log message ***
2004-12-06 00:51:00 +00:00
Kevin Ryde
371e3f7778
*** empty log message ***
2004-12-06 00:44:44 +00:00
Kevin Ryde
f0d1bc09cf
(break): New tests.
2004-12-06 00:41:41 +00:00
Kevin Ryde
ba94ef0c7f
(break): Change to a tail-recursive form.
2004-12-06 00:39:27 +00:00
Kevin Ryde
379b03074e
(span): Change to a tail-recursive form.
2004-12-06 00:34:53 +00:00
Kevin Ryde
ee0301df8c
(span): New tests.
2004-12-06 00:33:40 +00:00
Kevin Ryde
872223a898
(alist-delete): New tests.
2004-12-06 00:12:00 +00:00
Kevin Ryde
49ae1e250f
(alist-delete): Change to a tail-recursive form.
2004-12-06 00:09:14 +00:00
Kevin Ryde
41ab236c76
(alist-delete): Correction to equality proc call argument
...
order, spec is for given KEY param first.
2004-12-05 23:53:20 +00:00
Kevin Ryde
6d7db38196
*** empty log message ***
2004-12-05 21:57:44 +00:00
Kevin Ryde
f9a95cfe2a
(alist-copy): New tests.
2004-12-05 21:49:48 +00:00
Kevin Ryde
64f7942092
*** empty log message ***
2004-12-05 21:44:53 +00:00
Kevin Ryde
aa0745cc05
(alist-copy): Change to a tail-recursive form.
2004-12-05 21:44:18 +00:00
Kevin Ryde
b802470747
*** empty log message ***
2004-12-05 00:56:26 +00:00
Kevin Ryde
eadc07b568
*** empty log message ***
2004-12-04 23:18:17 +00:00
Kevin Ryde
8b981efda4
(append-map, append-map!): Rewrite as simple "concatenate map" forms,
...
for tail recursiveness.
2004-12-04 23:16:52 +00:00
Kevin Ryde
bbd1b480f4
(append-map): New tests.
2004-12-04 23:10:39 +00:00