John Benediktsson
667a00a69c
benchmark.memoize: add zero arg memoized function.
2012-07-17 17:49:09 -07:00
John Benediktsson
72de9badda
benchmark.memoize: adding a benchmark for memoization.
2012-07-17 16:02:00 -07:00
John Benediktsson
4eeafea8be
some cleanup.
2012-07-17 08:53:40 -07:00
John Benediktsson
2f325e4fee
using if-zero in even more places.
2012-07-16 19:38:49 -07:00
John Benediktsson
5cc30f46f5
using if-zero in more places.
2012-07-16 15:45:21 -07:00
John Benediktsson
3bd6610a9d
sequences.extras: adding a trim-as word.
2012-07-15 09:47:44 -07:00
John Benediktsson
aa2a166a53
sequences.extras: adding a contains? (a faster sequence intersects?).
2012-07-15 09:17:31 -07:00
John Benediktsson
6dc49d6014
sequences.extras: bounds-check in rotate! and do exchange-unsafe.
2012-07-14 15:12:18 -07:00
John Benediktsson
af4d839a23
benchmark.csv: adding a benchmark for csv.
2012-07-13 22:20:34 -07:00
John Benediktsson
4f260ab9bd
"H{ } substitute" is faster than "{ } substitute".
2012-07-13 19:06:38 -07:00
John Benediktsson
d5ef0e046a
assocs.extras: adding (in-place) substitute!.
2012-07-13 19:00:49 -07:00
John Benediktsson
e8024370f7
benchmark.binary-search: remove print in favor of assert.
2012-07-13 16:11:01 -07:00
John Benediktsson
8b6e3eab62
benchmark.dlists: adding a dlist benchmark.
2012-07-13 15:15:26 -07:00
John Benediktsson
2d3f46acf4
assocs.extras: fixing stack effect, inline words.
2012-07-11 22:15:44 -07:00
John Benediktsson
c3a6eab9ca
assocs.extras: adding a "zip-as" that is faster than "zip >hashtable".
2012-07-11 20:37:12 -07:00
John Benediktsson
3928e5cb26
benchmark.json: adding a json benchmark.
2012-07-11 18:43:22 -07:00
John Benediktsson
18993420f2
sequences.repeating: minor style cleanup.
2012-07-10 17:03:13 -07:00
John Benediktsson
f932ca2090
sequences.repeating: rename repeating to cycle and add repeat
2012-07-10 16:47:33 -07:00
John Benediktsson
53c43429de
graphviz.ffi: use unless-zero.
2012-06-22 08:36:56 -07:00
John Benediktsson
69d11c08e0
math.text.french: removing duplicate if-zero definition.
2012-06-22 08:36:37 -07:00
John Benediktsson
17b467a58e
fuel.help: fix use of lookup-article.
2012-06-21 11:53:46 -07:00
Doug Coleman
de9997dea3
issue #358 : fix images.gif
2012-06-21 08:35:43 -07:00
Doug Coleman
c97b2c5190
issue #358 : annotation -> lookup-annotation
2012-06-21 08:35:42 -07:00
Doug Coleman
2b35edb595
issue #358 : Make a word lookup-article so that article is just a tuple.
2012-06-21 08:35:38 -07:00
Doug Coleman
eccf5a82ae
io.files.info.windows: Fix file-systems word in two ways. First, don't
...
allocate 32k on the local alloc stack (which causes a 'double fault.')
Second, if the volume doesnt look up to a real path, don't make a dummy
object for that. volume
Use alien>native-string and native-string>alien wherever possible instead of
utf16n for Windows.
2012-06-21 08:32:53 -07:00
John Benediktsson
781c60cfe7
24-game: add division operation.
2012-06-20 17:55:11 -07:00
John Benediktsson
2dfa80c71e
math.blas.config: deal with OS X libblas ABI mess
...
x86-64 libblas uses different ABIs on 10.5 and 10.7, and is broken on 10.6.
Modified from patch by Joe Groff.
2012-06-20 17:17:49 -07:00
John Benediktsson
36efd95d12
alien.fortran: add a bad-fortran-abi object
...
Use this to represent an invalid Fortran library ABI with information about how to fix it.
Modified from patch by Joe Groff.
2012-06-20 17:16:50 -07:00
Doug Coleman
9ddef268e1
24-game: Fix the docs.
2012-06-20 00:37:09 -07:00
John Benediktsson
36c38b7c86
24-game: flush output, add some tests.
2012-06-19 23:11:10 -07:00
John Benediktsson
81e5c32225
24-game: simplify and cleanup.
2012-06-19 23:09:56 -07:00
John Benediktsson
314dc05ab0
math.extras: adding nonzero.
2012-06-19 14:23:00 -07:00
John Benediktsson
03cd8c288d
benchmark.completion: adding a benchmark of tools.completion.
2012-06-19 14:09:38 -07:00
John Benediktsson
b958ad4833
mason.docs: make docs archive have relative paths.
2012-06-19 10:08:14 -07:00
John Benediktsson
1c4a169f32
websites.factorcode: remove trailing semi-colon.
2012-06-18 17:45:05 -07:00
John Benediktsson
0e66aa5d9b
websites.factorcode: adding a happy birthday example.
2012-06-18 17:43:32 -07:00
John Benediktsson
752b5c6887
io.streams.memory: adding with-memory-reader.
2012-06-18 17:24:21 -07:00
Slava Pestov
7a10a8eb0d
macosx: Remove /opt/local prefix on some mac ffi libs.
2012-06-18 17:01:29 -07:00
John Benediktsson
d1f3b326e5
math: using if-zero in more places.
2012-06-18 14:32:39 -07:00
John Benediktsson
6f1f6767bd
wake-on-lan: adding support for Wake-on-LAN protocol.
2012-06-18 12:47:21 -07:00
John Benediktsson
4c888b3548
webapps.help: fixing location of generated html docs.
2012-06-18 12:32:44 -07:00
John Benediktsson
1778b1debd
mason.docs: fix making and uploading of docs archive.
2012-06-18 12:26:02 -07:00
Doug Coleman
d23aa5b125
calendar.holidays.us: Donuts too often
2012-06-01 18:03:42 -07:00
Doug Coleman
a2d2bfc9d1
calendar.holidays.us: Today is National Donut Day.
2012-06-01 17:19:45 -07:00
John Benediktsson
3c775f7bea
benchmark.busy-loop: make sure fixnum math on 32-bit.
2012-06-01 16:26:46 -07:00
John Benediktsson
53b77247f0
benchmark.busy-loop: adding a busy-loop "control" benchmark.
2012-06-01 16:18:29 -07:00
John Benediktsson
65a79dbe4d
fastcgi: removing dependency on unix-only.
2012-06-01 14:34:36 -07:00
John Benediktsson
e07b002a50
sequences.extras: adding sift-as and harvest-as.
2012-05-31 11:01:16 -07:00
John Benediktsson
d412364483
sequences.extras: even simpler round-robin.
2012-05-31 10:46:42 -07:00
John Benediktsson
58185a06ce
sequences.extras: simpler round-robin.
2012-05-31 08:17:08 -07:00
John Benediktsson
5de9ec1b1f
sequences.extras: adding round-robin.
2012-05-30 17:50:00 -07:00
John Benediktsson
180ad0aabf
fix some tests broken by the prepend change.
2012-05-29 16:58:58 -07:00
John Benediktsson
fe4be254da
sequences.extras: move min-by/max-by to math.compare.
2012-05-19 11:26:01 -07:00
John Benediktsson
2bc8016d40
assocs.extras: more tests for deep-at.
2012-05-17 09:40:43 -07:00
John Benediktsson
9230acbbb8
assocs.extras: adding deep-at.
2012-05-14 17:04:52 -07:00
John Benediktsson
6f5e1f16e0
sequences.extras: adding supremum-by and infimum-by that call the "map" quot once per element.
2012-05-14 16:44:07 -07:00
John Benediktsson
d035d1abfc
sequences.extras: adding each-from and reduce-from.
2012-05-14 16:43:42 -07:00
John Benediktsson
e90732f5e7
sequences.extras: adding test for insert-sorted.
2012-05-14 16:12:35 -07:00
John Benediktsson
bab0f663ae
math.similarity: fix tests, not sure this is the correct definition.
2012-05-08 08:05:31 -07:00
Doug Coleman
f03a7f10bf
sequences.extra: Fix min-by and max-by.
...
maximum and minimum run 2x as many calls to the quotation as are actually necessary; fix this eventually.
2012-05-07 15:04:37 -07:00
John Benediktsson
f00b8c8e55
Revert "Clean up smalltalk grammar"
...
This reverts commit 578bb98f21
.
2012-05-04 18:20:04 -07:00
Slava Pestov
491bb6aa4c
Clean up smalltalk grammar
2012-05-04 17:23:32 -07:00
John Benediktsson
a2f8735c9a
math.extras: adding moving-median.
2012-05-04 14:23:15 -07:00
John Benediktsson
cbf022454b
math.finance: adding some tests.
2012-05-04 10:06:24 -07:00
John Benediktsson
0a187f6609
math.finance: some fixes to dema, gdema, and tema.
2012-05-04 09:40:04 -07:00
John Benediktsson
3841bbb891
math.extras: adding moving-average and exponential-moving-average words.
2012-05-04 09:04:58 -07:00
Doug Coleman
3c29b4c131
math.blas, alien.fortran: Back from beyond the grave.
2012-05-04 09:05:43 -07:00
John Benediktsson
7b01763975
math.extras: adding jacobi and legendere symbols.
2012-05-04 08:57:09 -07:00
Doug Coleman
3507b9bad7
classes:
...
- Allow methods to dispatch off union{ } and intersection{ } classes.
- Add not{ } anonymous-complement syntax.
- Define class-name for anonymous-union/intersection/complement and maybes, and clean up pprint.
- Change maybe: foo to maybe{ foo }
- Call sort-classes when making anonymous-union/anonymous-intersection classes so that they are canonicalized.
2012-05-03 19:45:30 -07:00
John Benediktsson
7fe0e95cd4
math.finance: adding dema, gdema, and tema.
2012-05-03 16:31:04 -07:00
John Benediktsson
3c3ad89a22
math.distances: adding correlation-distance.
2012-05-03 15:52:28 -07:00
John Benediktsson
d3d109aa3e
math.distances: adding a couple more distance functions.
2012-05-03 15:42:12 -07:00
John Benediktsson
af8f23a78c
math.distances: adding some distance functions.
2012-05-03 13:38:59 -07:00
John Benediktsson
ffeaf448a7
sequences.extras: adding 2map-sum and 2count.
2012-05-03 11:31:38 -07:00
John Benediktsson
6b8d802985
math.similarity: adding a few similarity metrics.
2012-05-03 10:57:30 -07:00
John Benediktsson
a9a0080ce3
sequences.extras: adding "filter-map".
2012-05-02 11:14:10 -07:00
Doug Coleman
f6398365bd
math.functions: rename exp to e^ to be consistent with 2^ and 10^. update things.
2012-05-02 10:22:23 -07:00
John Benediktsson
ccf6a27191
ctags.etags: remove unnecessary test.
2012-04-27 12:05:51 -07:00
John Benediktsson
3ace73ec00
assocs.extras: adding assoc-harvest and assoc-sift.
2012-04-27 11:39:20 -07:00
John Benediktsson
7bba1972a1
project-euler: fix shadowing of permutations?.
2012-04-26 16:58:09 -07:00
John Benediktsson
2ec0bf3037
sequences.extras: fixing map-concat to return type of first mapped value.
2012-04-26 15:07:39 -07:00
John Benediktsson
40e79d4b56
sequences.extras: faster longest-subseq, cleanup other words.
2012-04-25 16:30:08 -07:00
John Benediktsson
a976e31f39
sequences.extras: adding map-sift and map-harvest.
2012-04-25 15:58:18 -07:00
John Benediktsson
9bc6e29506
sequences.extras: adding map-filter.
2012-04-25 15:50:35 -07:00
John Benediktsson
61b3c26e1b
sequences.extras: adding map-concat.
2012-04-25 13:28:56 -07:00
John Benediktsson
f3e1dc5b98
Use "map-sum" instead of "map sum".
2012-04-25 13:18:21 -07:00
John Benediktsson
6f89c1824d
change to in-place reverse.
2012-04-24 18:51:46 -07:00
John Benediktsson
817b45ee03
math.combinatorics: minor performance improvements.
2012-04-24 18:42:34 -07:00
John Benediktsson
fc50417e43
benchmark.combinatorics: adding a combinatorics benchmark.
2012-04-24 17:29:26 -07:00
John Benediktsson
476781cdd9
sequences.extras: adding rotate and rotate! words.
2012-04-24 16:59:17 -07:00
John Benediktsson
0650495414
math.extras: adding sterling numbers, bernoulli numbers, chi-square and inverse-chi-square words.
2012-04-20 20:09:54 -07:00
John Benediktsson
60b83c7241
benchmark.make: use % (push-all).
2012-04-20 10:51:51 -07:00
John Benediktsson
7f7cb5cdf9
benchmark.make: adding a simple make benchmark.
2012-04-20 10:41:50 -07:00
John Benediktsson
5b83dc2e90
sequences.extras: adding slice-when (non-destructive split-when).
2012-04-19 16:41:44 -07:00
John Benediktsson
449814a387
math.primes.twins: calculating twin primes.
2012-04-19 15:14:31 -07:00
John Benediktsson
8c1165cac1
cleanup some lint warnings.
2012-04-18 17:46:01 -07:00
Doug Coleman
161cd8222c
sequences.extras: Experimenting with collapse, compact words. Add even/odd-indices words.
2012-04-18 15:18:54 -07:00
John Benediktsson
8e0df4df9c
24-game: remove broken "spin" definition.
2012-04-18 12:11:41 -07:00
John Benediktsson
ef87f81022
sequences.extras: adding a version of filter that uses an elements index.
2012-04-18 10:47:25 -07:00
John Benediktsson
17d9b1ba40
sequences.extras: faster minimum/maximum.
2012-04-16 15:09:44 -07:00