diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-07-15 19:34:44 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-07-15 19:34:44 -0700 |
commit | f0874f294b1d70e9e4a9ac79a16788f286755c40 (patch) | |
tree | c27a73bf1bd09a1346c4188ed7f9c7ca32d7bedc /stdlib/optimize.tl | |
parent | c30b2adac82ee1922883551363874779b0083d83 (diff) | |
download | txr-f0874f294b1d70e9e4a9ac79a16788f286755c40.tar.gz txr-f0874f294b1d70e9e4a9ac79a16788f286755c40.tar.bz2 txr-f0874f294b1d70e9e4a9ac79a16788f286755c40.zip |
compiler: move material into constfun.tl
* stdlib/compiler.tl (%effect-free-funs%, %effect-free%,
%functional-funs%, %functional%): Move variables
into stdlib/constfun.tl
* stdlib/constfun.tl %effect-free-funs%, %effect-free%,
%functional-funs%, %functional%): Moved here.
* stdlib/optimize.tl: Use load-for to express dependency
on constfun module; don't depend on the compiler having
loaded it.
Diffstat (limited to 'stdlib/optimize.tl')
-rw-r--r-- | stdlib/optimize.tl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stdlib/optimize.tl b/stdlib/optimize.tl index b6cbbb10..6ba0685e 100644 --- a/stdlib/optimize.tl +++ b/stdlib/optimize.tl @@ -25,6 +25,8 @@ ;; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE ;; POSSIBILITY OF SUCH DAMAGE. +(load-for (usr:var %const-foldable% "constfun")) + (compile-only (defstruct live-info nil (defined 0) |