1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 04:10:18 +02:00
guile/module
Andy Wingo 7cbadbc43d fix peval to preserve effects when folding (values) forms
* module/language/tree-il/peval.scm (singly-valued-expression?): New
  helper.
  (truncate-values): Use the helper.
  (make-operand): Minor refactor.
  (set-operand-residual-value!): Try to undo the effects of (values
  FOO), if the continuation will check itself for the correct number of
  values.
  (peval): Fold helpers into fold-constant.  Add a constant-expression?
  case for (values FOO).  Add a new context: "values", for contexts in
  which multiple values are allowed, either because of being in a tail
  context relative to a function, or because of let-values.  "value" is
  now for single values.  Don't visit operands for "values", as their
  binding form truncates to one value.  Add a case to fold (values ...)
  forms.  Fix folding of (lambda), to process the cases in values
  context instead of tail context (which could have been "value", which
  would cause the procedure to truncate).
2011-12-19 15:52:05 +01:00
..
ice-9 ftw: Fix typos/thinkos in file-system-fold' and scandir'. 2011-12-19 09:18:42 +01:00
language fix peval to preserve effects when folding (values) forms 2011-12-19 15:52:05 +01:00
oop fix some cache consistency issues with goops and extended generics 2011-09-02 13:17:19 +02:00
rnrs Fix R6RS `fold-left' so the accumulator is the first argument. 2011-11-01 01:11:46 +01:00
scripts Add a --target' option to guild compile'. 2011-11-22 00:22:46 +01:00
srfi current-input-port et al are srfi-39 parameters 2011-12-10 21:37:19 +01:00
sxml more define-syntax-rule usage 2011-09-02 11:36:14 +02:00
system warnings written to warning port 2011-12-05 18:11:24 +01:00
texinfo Use default value for make-fluid in Scheme files 2011-11-23 12:54:09 +01:00
web allow URIs of the form file:///etc/hosts 2011-12-06 11:47:41 +01:00
Makefile.am Allow $GUILE_FOR_BUILD to use its own environment when cross-compiling. 2011-11-23 15:29:18 +01:00
rnrs.scm Enhance transcoder-related functionality of `(rnrs io ports)' 2011-03-13 23:14:43 +01:00
statprof.scm add gcprof 2011-05-05 11:43:12 +02:00
texinfo.scm more define-syntax-rule usage 2011-09-02 11:36:14 +02:00