John Benediktsson
44da4ed4dd
sequences: fix filter! to allow stack arguments to be used by the quot.
2017-03-05 14:09:03 -08:00
John Benediktsson
c6a00bfdfe
id3: fix for find-files-by-extension rename.
2017-03-05 13:47:19 -08:00
John Benediktsson
79983feed7
inverse: simplify, a little cleanup.
2017-03-05 13:32:34 -08:00
John Benediktsson
368e1c8e47
io.directories.search: simplify interface.
...
Now we use a ``traversal-method`` variable that controls whether
we do a depth-first or breadth-first search rather than a stack
argument or a fixed default specified in each word.
This also fixes an issue where breadth-first traversal would
iterate across children in reverse order, now it does the normal
ordering which is typically alphabetical.
2017-03-05 09:16:00 -08:00
John Benediktsson
9e4b0c10ae
lru-cache: fix M\ lru-cache clone.
2017-03-02 18:41:24 -08:00
John Benediktsson
faf0158ad0
lru-cache: adding a Least Recently Used (LRU) cache.
2017-03-02 16:12:01 -08:00
John Benediktsson
92bddad476
linked-assocs.prettyprint: only print LH{ } for linked-assoc classes.
...
Not subclasses.
2017-03-02 16:09:46 -08:00
John Benediktsson
890be49074
combinators.extras: adding a variant to cond.
2017-02-21 14:51:30 -08:00
thron7
b00aef99e2
fixed variable name mismatch
2017-02-21 10:16:59 -08:00
nicolas-p
55834faba7
slots: added margins
2017-02-14 13:49:30 -08:00
Alexander Iljin
9ab0e5d6f8
checksums.sha1-docs: fix wording
2017-02-14 23:02:43 +03:00
Alexander Iljin
226d8a2397
ui.baseline-alignment-docs: replace $snippet with $slot
2017-02-14 23:02:36 +03:00
Alexander Iljin
3503bf86e2
ui.render-docs: replace $snippet with $slot
2017-02-14 23:02:29 +03:00
John Benediktsson
e826546c6d
cocoa.messages: simplify (objc-class).
2017-02-11 20:58:25 -08:00
John Benediktsson
52932cf2e1
delegate.protocols: adding deque-protocol.
2017-02-11 14:23:57 -08:00
John Benediktsson
d63c992d97
using when instead of [ ] if.
2017-02-09 16:29:14 -08:00
John Benediktsson
9d3b5cb44b
vocabs: simplify M\ string require.
2017-02-09 16:24:05 -08:00
John Benediktsson
2e73914e85
rosetta-code.equilibrium-index: simplify.
2017-02-09 16:04:20 -08:00
John Benediktsson
3a6eefcc8e
using ignore-errors instead of [ drop ] recover.
2017-02-09 15:50:33 -08:00
John Benediktsson
119ba84998
math.primes.safe: this looks nicer.
2017-02-08 11:32:34 -08:00
John Benediktsson
a8b66764d5
compiler.utilities: move conjoin-at tests.
2017-02-08 11:16:00 -08:00
John Benediktsson
b5dd40cc53
math.primes.factors: support command-line args like factor(1).
2017-02-08 11:14:24 -08:00
John Benediktsson
9d2e62f8e1
math.primes.safe: simplify.
2017-02-08 11:14:10 -08:00
Jon Harper
7ed6379633
trees, attempt to keep shape during conersions
2017-02-08 10:37:02 -08:00
Jon Harper
d800d026de
trees, make pop/slurp work for all trees
...
It is not as optimized as it could be but it is a simple way
to ensure that the tree properties are maintained.
2017-02-08 10:37:02 -08:00
Jon Harper
e0bd21e24a
trees, cleanup privates
2017-02-08 10:37:02 -08:00
Jon Harper
8b136cdd6d
trees, add pop/slurp operations
2017-02-08 10:37:02 -08:00
Jon Harper
45500b9137
trees, add navigation operations (lower-key etc.)
2017-02-08 10:37:02 -08:00
Jon Harper
3667844439
trees, add range operations (subtree>alist etc.)
2017-02-08 10:37:02 -08:00
Jon Harper
c686b15939
trees, fix delete-at. Add testcase
2017-02-08 10:37:02 -08:00
Jon Harper
2ca301ec5e
trees.splay, add test for assoc-size
2017-02-08 10:37:02 -08:00
Jon Harper
4442d922b0
trees.avl, implement assoc-size
2017-02-08 10:37:02 -08:00
Jon Harper
d2cfbafa13
trees, implement assoc-size
2017-02-08 10:37:02 -08:00
Jon Harper
2bfeecda2b
trees, add height
2017-02-08 10:37:02 -08:00
Jon Harper
29ebeb5a26
trees, change M\ tree clone to keep the shape of the tree
...
Without this, all base class and splay trees were becoming linked lists after cloning..
2017-02-08 10:37:02 -08:00
John Benediktsson
79a28e130e
compiler.cfg.gvn.avail: fix using.
2017-02-08 09:30:31 -08:00
John Benediktsson
b51617db16
sequences: simplify (map-find).
2017-02-07 19:42:58 -08:00
John Benediktsson
f4ccfa0f71
sets: moving unique/conjoin/conjoin-at to compiler.utilities.
2017-02-07 18:54:24 -08:00
John Benediktsson
b5ce31cbae
assocs: change assoc= to compare with = not eq?.
2017-02-07 16:40:39 -08:00
John Benediktsson
92d7f6bc5a
tools.deploy.shaker: change compiler-classes to return a set.
2017-02-07 15:30:50 -08:00
John Benediktsson
ef3d271fb3
remove some uses of conjoin.
2017-02-07 15:14:20 -08:00
John Benediktsson
846d2315ff
sets: use = instead of eq? in M\ set set=.
2017-02-07 14:54:57 -08:00
John Benediktsson
bfcd68e2e9
sets: simpler M\ sequence members.
2017-02-07 14:50:58 -08:00
John Benediktsson
75ebd0eacd
io.servers: using ?adjoin and ?delete in add/remove-running-server.
...
Also fixed a small bug in add-running-server where the error was
mistakenly constructed with running-servers instead of threaded-server.
2017-02-07 13:31:57 -08:00
John Benediktsson
8dfbbc7cf2
destructors: using ?delete in unregister-disposable.
2017-02-07 13:31:43 -08:00
John Benediktsson
de48558d12
sets: adding ?delete that returns a boolean if elt was deleted from set.
2017-02-07 13:31:07 -08:00
John Benediktsson
d5aa8628e3
yaml: using ?adjoin.
2017-02-07 12:33:34 -08:00
John Benediktsson
0f1d08a372
using map-reduce instead of unclip reduce.
2017-02-07 12:16:12 -08:00
John Benediktsson
365a9203a8
alien.libraries.finder: use find instead of map-find.
2017-02-07 10:59:24 -08:00
John Benediktsson
210209ead2
io.files.temp.macosx: use find instead of map-find.
2017-02-07 10:57:37 -08:00