diff options
author | dos-reis <gdr@axiomatics.org> | 2011-08-12 14:39:03 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2011-08-12 14:39:03 +0000 |
commit | b112067f55188644f3202ea0d992e81bacc64f04 (patch) | |
tree | 2c3f4e2c9e77ed6491a6c988470017a43089ad22 /src/interp/i-coerce.boot | |
parent | 1fcea6ceeb3655d1196238588781cdba193f5589 (diff) | |
download | open-axiom-b112067f55188644f3202ea0d992e81bacc64f04.tar.gz |
* boot/ast.boot (shoeCompTran1): Translate extended vector-forms.
* interp/c-util.boot: Use vector instead of LIST2VEC.
* interp/define.boot: Likewise.
* interp/i-coerce.boot: Likewise.
* interp/i-coerfn.boot: Likewise.
* interp/i-funsel.boot: Likewise.
* interp/i-map.boot: Likewise.
* interp/i-special.boot: Likewise.
* interp/interop.boot: Likewise.
* interp/nruncomp.boot: Likewise.
* interp/slam.boot: Likewise.
Diffstat (limited to 'src/interp/i-coerce.boot')
-rw-r--r-- | src/interp/i-coerce.boot | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interp/i-coerce.boot b/src/interp/i-coerce.boot index cdb40620..2c7e4283 100644 --- a/src/interp/i-coerce.boot +++ b/src/interp/i-coerce.boot @@ -1213,7 +1213,7 @@ computeTTTranspositions(t1,t2) == -- create a list of permutations that transform the tower parts -- of t1 into the order they are in in t2 n1 := #tl1 - p2 := LIST2VEC compress(p2,0,# removeDuplicates tl1) where + p2 := vector compress(p2,0,# removeDuplicates tl1) where compress(l,start,len) == start >= len => l member(start,l) => compress(l,start+1,len) @@ -1223,7 +1223,7 @@ computeTTTranspositions(t1,t2) == -- them perms := permuteToOrder(p2,n1-1,0) towers := [tl1] - tower := LIST2VEC tl1 + tower := vector tl1 for perm in perms repeat t := tower.(first perm) tower.(first perm) := tower.(rest perm) |