diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-09-08 06:43:11 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-09-08 06:43:11 -0700 |
commit | f72fa1121f2571aba9f16f95d58d8e915965d765 (patch) | |
tree | 5a69df1dd47b2b912604bbcff3303088f4ea5ab1 /txr.1 | |
parent | 67e450455d7514d9a03da48e7830e59f98b6a958 (diff) | |
download | txr-f72fa1121f2571aba9f16f95d58d8e915965d765.tar.gz txr-f72fa1121f2571aba9f16f95d58d8e915965d765.tar.bz2 txr-f72fa1121f2571aba9f16f95d58d8e915965d765.zip |
Random states of type random-state, not *random-state*.
* lib.c (compat_fixup): Call rand_compat_fixup.
* rand.c (random_state_var_s): New global symbol variable.
(rand_compat_fixup): New static function.
(rand_init): Initialize random_state_var_s by intering
the earmuffed symbol *random-state*. Initialize random_state_s
to the non-earmuffed symbol random-state.
* rand.h (random_state_var_s): Declared.
(random_state): Macro updated to look up the special
variable using random_state_var_s, rather than random_state_s.
(rand_compat_fixup): Declared.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -33297,6 +33297,7 @@ selects the behaviors described below for version 105, but not those for 102. .cble The new format omits the program name prefix and parentheses. + Also, the .code kill function returned an integer, obtained from the return @@ -33304,6 +33305,13 @@ value of the underlying C function, rather than converting that value to a boolean. The old behavior was not documented, and 114 compatibility restores it. +Lastly, prior to 115, random state objects were of type +.code *random-state* +(the same symbol as the special variable name) +rather than of type +.codn random-state . +This is a bug whose behavior is simulated by 114 compatibility. + .IP 113 Version 113 is the last version in which the .codn stat , |