Alexander Iljin
7e4c854714
rosetta-code.multisplit: reduce memory usage
...
Avoid creating a filtered sequence when all we need is its first element.
2020-04-02 01:50:01 +00:00
Alexander Iljin
9b143a826d
rosetta-code.multisplit: new vocab
2020-04-01 23:21:52 +00:00
Doug Coleman
b546d88e83
extra: Finish renaming a couple words
2020-02-27 01:04:52 +00:00
John Benediktsson
07a5912afa
math.matrices: rename m./m.v/v.m to mdot/mdotv/vdotm.
2020-02-26 12:51:04 -08:00
John Benediktsson
1c5d417100
math.vectors: rename "v." to "vdot"
2020-02-26 12:40:16 -08:00
Cat Stevens
4350bcbfcd
math.matrices: rewrite, modernize and overhaul
...
math.matrices.elimination: move to extra
math.matrices.extras: expand with esoteric, less-used and unfinished code from basis
- math.matrices and .extras receive more words, tests, and docs
- matrix has become a predicate class
- 94% of matrices words have complete docs
- 77% of matrices.extras words have complete docs
- much more consistent naming for constructors etc
- added missing words / features such as main-diagonal and anti-transpose
- optimizations
- lots of documentation
2019-12-08 08:08:54 -08:00
Alexander Iljin
6b23c7c6d6
rosetta-code.ternary-logic: add a missing type cast to t=
2018-08-21 10:44:23 -07:00
Alexander Iljin
f56ed221d7
rosetta-code.ternary-logic: remove useless type casts before drops
2018-08-21 10:44:22 -07:00
Doug Coleman
4b614cc15b
factor: Make source files/resources 644 instead of 755.
2018-07-13 20:36:50 -05:00
Doug Coleman
9f213f96f6
core: Add the shuffler words but without primitives.
...
The nipd branch slowed bootstrap by a minute, this patch does not.
sorry about changing the fjsc line endings...
2018-06-19 22:52:58 -05:00
John Benediktsson
7f6b3261d5
rosetta-code.bitmap-bezier: use assocs.
2018-01-19 14:24:18 -08:00
John Benediktsson
b0b9524fcf
rosetta-code.bitmap-bezier: use zip.
2018-01-19 12:14:17 -08:00
Doug Coleman
15b13870ae
peg.ebnf: Clean up EBNF: syntax.
...
The syntax for an EBNF parser is now ``EBNF: identifier string``. The
inline syntax went from [EBNF ... EBNF] to EBNF[[ ]], EBNF[=[ ]=], etc.
<EBNF looked for a main word, but this functionality is just EBNF[[ ]]
now.
2017-08-05 22:23:57 -05:00
Björn Lindqvist
ba9a1ca5ef
basic/, extra/: even more tags
2017-07-07 01:45:13 +02:00
Doug Coleman
e189954ecc
core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota-tuple ... ;
2017-06-02 11:57:05 -05:00
Doug Coleman
c5b563ed09
factor: Rename start -> subseq-start, start* -> subseq-start-from.
...
I also removed aliases for start/end from interval-maps and interval-sets and added a comment. I don't think it's any less clear what's going on.
2017-06-01 14:45:54 -05:00
Alexander Iljin
692f49d92e
rosetta-code.gnome-sort: add some tests
2017-03-18 16:44:14 -07:00
Alexander Iljin
ea50cc77a0
rosetta-code.gnome-sort: add vocab
2017-03-18 15:08:56 -07:00
John Benediktsson
2e73914e85
rosetta-code.equilibrium-index: simplify.
2017-02-09 16:04:20 -08:00
John Benediktsson
baaa06278c
Revert "sequences: swap stack arguments for start/start*/subseq?."
...
This reverts commit 63b0593824
.
2017-01-21 07:20:14 -08:00
John Benediktsson
63b0593824
sequences: swap stack arguments for start/start*/subseq?.
...
It is more natural to be ( seq subseq -- ? ).
2017-01-20 22:49:53 -08:00
John Benediktsson
b141e0d2fb
assocs: moving collect-by from math.statistics.
2016-12-28 12:56:19 -08:00
John Benediktsson
ac04040edc
math.trig: use deg>rad in a few places to reduce duplication.
2016-11-10 10:17:22 -08:00
John Benediktsson
55cf5472a5
using [ ] [ ... ] ?if instead of [ nip ] [ ... ] if*.
2016-07-11 19:50:37 -07:00
Jon Harper
8a34de9626
rosetta-code.image-noise, use status bar for FPS
2016-06-04 07:23:43 -07:00
Jon Harper
b3155d980e
rosetta-code.image-noise, bring back fps after c7ca226
2016-06-04 15:43:32 +02:00
John Benediktsson
c7ca2269b6
use MAIN-WINDOW: in a few places.
2016-04-21 17:00:06 -07:00
John Benediktsson
42ae9ac015
lists: first pass at some cleanup.
...
Now lists.lazy:lmap-lazy and lists.lazy:lappend-lazy names differentiate
from their non-lazy counterparts in lists.
2016-04-17 13:08:32 -07:00
John Benediktsson
498285d7dd
unicode: make this the API for all unicode things.
2016-03-30 23:29:48 -07:00
John Benediktsson
14953f641f
rosetta-code.image-noise: use delete-all.
2016-03-28 14:18:47 -07:00
John Benediktsson
109c7328bb
rosetta-code.probabilistic-choice: cleanup.
2015-07-19 12:36:07 -07:00
John Benediktsson
c25fb5f55e
update some more MACRO: effects.
2015-07-19 11:42:46 -07:00
Doug Coleman
4ec2311406
factor: Trim whitespace after ! comments and a few USING: lines that got skipped before.
2015-07-18 20:14:22 -07:00
Doug Coleman
892c62e1dc
factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test
2015-07-03 09:39:59 -07:00
Doug Coleman
59f3b1ea57
Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
...
Needs a bit more work.
This reverts commit 7e54cc2824
.
2015-07-02 13:47:06 -07:00
Doug Coleman
7e54cc2824
factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!
2015-07-02 11:36:08 -07:00
Doug Coleman
999aa7c897
factor: clean up spaces in -tests files
2015-07-02 10:34:01 -07:00
Doug Coleman
352e5de16a
core, basis, extra: Remove DOS line endings from files.
...
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00
John Benediktsson
12f87c2678
rosetta-code.dice7: adding some docs for the problem being solved.
2015-04-16 18:34:59 -07:00
John Benediktsson
07874dbb71
rosetta-code.dice7: some cleanup from @erg.
2015-04-11 18:30:07 -07:00
John Benediktsson
8857633db0
rosetta-code.dice7: moving to proper location, dos2unix.
2015-04-11 18:23:20 -07:00
John Benediktsson
17d12ffaea
rosetta-code.balanced-brackets: adding some tests.
2014-12-08 17:41:31 -08:00
John Benediktsson
94f66ec0be
rosetta-code.balanced-brackets: cleanup and test.
2014-12-06 21:40:24 -08:00
Björn Lindqvist
61ba941740
math.vectors: changes so that some vocabs that can use math.vector words does it
2014-11-17 19:02:12 -08:00
John Benediktsson
760126525b
basis/extra: fix using for map-index move back to sequences.
2014-11-11 18:00:44 -08:00
Doug Coleman
7cfa9d9518
assocs: Make map-index-as support seq or assoc exemplars and move map-index, map-index-as to assocs because they need to use new-assoc. Make zip-index-as support assoc exemplars. Fix up docs and tests.
...
assocs.extras: Remove zip-as and move tests to assocs.
2014-11-08 18:18:00 -08:00
John Benediktsson
d901af14c0
extra: use ?download-to in a few more places.
2014-06-09 09:18:58 -07:00
John Benediktsson
5f1c6151dc
extra: use bl when possible instead of ``" " write``.
2014-06-04 09:10:36 -07:00
John Benediktsson
712be93989
http.client: remove http-get* and its friends, change http-request* and with-http-request* to not check response codes.
2014-03-12 19:39:15 -07:00
Jon Harper
91fce8c90b
rosetta-code.metronome: usage, validation
2013-10-17 13:35:06 -07:00