1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-22 04:30:19 +02:00

NEWS tweaks for nil

* NEWS: Some nil-related news fixes; after 1.9.10, I know, but hey ;-)
This commit is contained in:
Andy Wingo 2010-04-16 10:35:51 +02:00
parent bcbfc9400d
commit b390b00834

7
NEWS
View file

@ -71,9 +71,7 @@ but when we start to integrate more with Emacs, it is possible that we
break code that assumes that, for example, `(not x)' implies that `x' is break code that assumes that, for example, `(not x)' implies that `x' is
`eq?' to `#f'. This is not a common assumption. Refactoring affected `eq?' to `#f'. This is not a common assumption. Refactoring affected
code to rely on properties instead of identities will improve code code to rely on properties instead of identities will improve code
correctness. correctness. See "Nil" in the manual, for more details.
That is to say, user code should test falsity with `if', not with `eq?'.
** Integration of lalr-scm, a parser generator ** Integration of lalr-scm, a parser generator
@ -1195,8 +1193,7 @@ Just use `scm_call_0', etc instead.
The bit representation of `nil' has been tweaked so that it is now very The bit representation of `nil' has been tweaked so that it is now very
efficient to check e.g. if a value is equal to Scheme's end-of-list or efficient to check e.g. if a value is equal to Scheme's end-of-list or
Lisp's nil. Additionally there are a heap of new, specific predicates Lisp's nil. Additionally there are a heap of new, specific predicates
like scm_is_null_or_nil. Probably in the future we will #define like scm_is_null_or_nil.
scm_is_null to scm_is_null_or_nil.
** Support for static allocation of strings, symbols, and subrs. ** Support for static allocation of strings, symbols, and subrs.