* libguile/fluids.c (grow_dynamic_state, new_fluid): Arrange for the default value in the dynamic-state vector to be SCM_UNDEFINED instead of SCM_BOOL_F. If the value in the dynamic-state is #f, default to a value attached to the fluid instead. This allows useful default values. (scm_make_fluid_with_default): New function, allows the user to specify a default value for the fluid. Defaults to #f. Bound to `make-fluid' on the Scheme side. (scm_make_unbound_fluid): Use SCM_UNDEFINED as the default in all threads. (scm_fluid_unset_x): Also unset the default value. Not sure if this is the right thing. (fluid_ref): Update to the new default-value strategy. * libguile/threads.c (scm_i_reset_fluid): Reset to SCM_UNDEFINED. * libguile/threads.h: Remove extra arg to scm_i_reset_fluid. * libguile/vm-i-system.c (fluid-ref): Update to new default-value strategy. * module/ice-9/vlist.scm (block-growth-factor): Default to 2 in all threads. Fixes http://debbugs.gnu.org/10093. |
||
|---|---|---|
| .. | ||
| and-let-star.scm | ||
| arrays.scm | ||
| binary-ports.scm | ||
| boot-9.scm | ||
| buffered-input.scm | ||
| calling.scm | ||
| ChangeLog-2008 | ||
| channel.scm | ||
| command-line.scm | ||
| common-list.scm | ||
| compile-psyntax.scm | ||
| control.scm | ||
| curried-definitions.scm | ||
| debug.scm | ||
| deprecated.scm | ||
| documentation.scm | ||
| eval-string.scm | ||
| eval.scm | ||
| expect.scm | ||
| format.scm | ||
| ftw.scm | ||
| futures.scm | ||
| gap-buffer.scm | ||
| getopt-long.scm | ||
| hcons.scm | ||
| history.scm | ||
| i18n.scm | ||
| lineio.scm | ||
| list.scm | ||
| ls.scm | ||
| mapping.scm | ||
| match.scm | ||
| match.upstream.scm | ||
| networking.scm | ||
| null.scm | ||
| occam-channel.scm | ||
| optargs.scm | ||
| poe.scm | ||
| poll.scm | ||
| popen.scm | ||
| posix.scm | ||
| pretty-print.scm | ||
| psyntax-pp.scm | ||
| psyntax.scm | ||
| q.scm | ||
| quasisyntax.scm | ||
| r4rs.scm | ||
| r5rs.scm | ||
| r6rs-libraries.scm | ||
| rdelim.scm | ||
| README | ||
| receive.scm | ||
| regex.scm | ||
| runq.scm | ||
| rw.scm | ||
| safe-r5rs.scm | ||
| safe.scm | ||
| save-stack.scm | ||
| scm-style-repl.scm | ||
| serialize.scm | ||
| session.scm | ||
| slib.scm | ||
| stack-catch.scm | ||
| streams.scm | ||
| string-fun.scm | ||
| syncase.scm | ||
| test.scm | ||
| threads.scm | ||
| time.scm | ||
| top-repl.scm | ||
| vlist.scm | ||
| weak-vector.scm | ||
This directory contains various bits of Guile Scheme code. Most of these are packaged as modules, with foo.scm implementing the module `(ice-9 foo)'. The non-module files are: boot-9.scm -- loaded on guile startup implements module system + lots of other stuff arrays.scm -- loaded by boot-9.scm networking.scm -- loaded by boot-9.scm posix.scm -- loaded by boot-9.scm r4rs.scm -- loaded by boot-9.scm