aboutsummaryrefslogtreecommitdiff
path: root/src/interp/slam.boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2010-05-08 22:01:09 +0000
committerdos-reis <gdr@axiomatics.org>2010-05-08 22:01:09 +0000
commit2c869f999871438dfb1c3efb9eb9f6e398c35d36 (patch)
tree212c40a23c6157a12252b97bd9b0e155a1e336d5 /src/interp/slam.boot
parent20462739ac81a89fa81ff9576969c7a8d8952ea3 (diff)
downloadopen-axiom-2c869f999871438dfb1c3efb9eb9f6e398c35d36.tar.gz
* interp/wi2.boot: Remove more RPLACA and RPLACD uses.
* interp/topics.boot: Likewise. * interp/slam.boot: Likewise. * interp/nruncomp.boot: Likewise. * interp/interop.boot: Likewise. * interp/i-toplev.boot: Likewise. * interp/i-spec1.boot: Likewise. * interp/i-resolv.boot: Likewise. * interp/i-output.boot: Likewise. * interp/htsetvar.boot: Likewise. * interp/g-util.boot: Likewise. * interp/g-cndata.boot: Likewise. * interp/functor.boot: Likewise. * interp/dq.boot: Likewise. * interp/define.boot: Likewise. * interp/database.boot: Likewise. * interp/cparse.boot: Likewise. * interp/clam.boot: Likewise. * interp/c-util.boot: Likewise. * interp/br-op1.boot: Likewise. * interp/br-data.boot: Likewise.
Diffstat (limited to 'src/interp/slam.boot')
-rw-r--r--src/interp/slam.boot4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interp/slam.boot b/src/interp/slam.boot
index f458bcb4..b3d2a2e3 100644
--- a/src/interp/slam.boot
+++ b/src/interp/slam.boot
@@ -1,6 +1,6 @@
-- Copyright (c) 1991-2002, The Numerical Algorithms Group Ltd.
-- All rights reserved.
--- Copyright (C) 2007-2009, Gabriel Dos Reis.
+-- Copyright (C) 2007-2010, Gabriel Dos Reis.
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
@@ -146,7 +146,7 @@ hashCount table ==
mkCircularAlist n ==
l:= [[$failed,:$failed] for i in 1..n]
- RPLACD(LASTNODE l,l)
+ lastNode(l).rest := l
countCircularAlist(cal,n) ==
+/[nodeCount x for x in cal for i in 1..n]