[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Additional side-effect-free functions
From: |
David Kastrup |
Subject: |
Re: Additional side-effect-free functions |
Date: |
30 Mar 2002 16:04:54 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 |
jyavner@comcast.net (Jonathan Yavner) writes:
> Many built-in functions without apparent side effects are not given
> the property (side-effects t) in byte-opts.el. Why not?
>
> Examples:
> make-symbol
This changes the obarray.
> char-to-string
This can call an exception.
> format-time-string
This depends on the current time
> current-time
The same.
> truncate
This can raise a range-error exception.
I didn't check through all the others, but the list of forgotten
things is probably quite smaller than you think.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Email: David.Kastrup@t-online.de