Commit Graph

25227 Commits (3ac3c69ab409249c590b18ee5fe9958de1e55ee9)

Author SHA1 Message Date
John Benediktsson 38833fcafe rosetta-code.pascals-triangle: adding a coefficients method. 2013-05-07 21:06:40 -07:00
Erik Charlebois 9b0989a901 FUEL: Documentation fixes 2013-05-07 22:28:42 -04:00
John Benediktsson 66b2b3c044 math.combinators: fix help-lint warnings I introduced... 2013-05-07 08:18:20 -07:00
John Benediktsson 05f6304087 io.streams.random: fix USE: again. 2013-05-07 06:18:50 -07:00
John Benediktsson 179f063eb9 sequences: fix test case. 2013-05-07 06:18:13 -07:00
John Benediktsson 2ba006cd71 sequences.extras: adding remove-last. 2013-05-07 06:15:33 -07:00
Erik Charlebois ba02db8485 FUEL: Fix Emacs package metadata for MELPA recipe 2013-05-07 02:03:26 -04:00
Erik Charlebois deb0ceaa9c Large reorg of FUEL codebase
* Modernize the FUEL elisp code for Emacs 24.3. Emacs 24.3 deprecated
the old 'cl lib and standardized a new 'cl-lib lib to put the name
clash issues to rest once and for all. This version of FUEL now requires
24.3.
* Move FUEL code that was needed by factor-mode into factor-mode and
rename appropriately. factor-mode and FUEL are now clearly separated
and FUEL depends on factor-mode.
* Set up FUEL with appropriate autoloads so that it's Emacs 24 package
manager friendly. FUEL can now be uploaded to MELPA or some similar
package manager.
* Changed the Factor faces for font locking to inherit from the default
Emacs faces rather than defaulting to other colors. This means that
Emacs themes will work for Factor code out of the box. Further
tailoring of Factor-specific faces can be done by users themselves.
* Cleaned up a lot of code to use Emacs conventions
(define-defined-mode, define-minor-mode, indent-function, etc) and added
a propery syntax table so that paren matching works, and word/symbol
skipping works.
* Added a new minor mode, fuel-autohelp-mode, that displays the help for
the symbol under point in another window. A fusion of fuel-autodoc-mode
and fuel-help-mode that's quite handy for reading Factor code.
2013-05-07 01:41:12 -04:00
John Benediktsson a5bc30ba42 sequences: change binary-reduce not to be row-polymorphic until #879 is fixed. 2013-05-06 16:17:57 -07:00
John Benediktsson 1216ae5cb1 io.streams.random: fix USE:. 2013-05-06 16:17:39 -07:00
John Benediktsson 71ad332027 sequences: implement sum on iota-tuple. 2013-05-06 16:02:49 -07:00
John Benediktsson fe45a08054 math.ranges: implement sum on ranges. 2013-05-06 16:01:29 -07:00
John Benediktsson bca3ddfae8 math.extras: change moving-median to use <clumps>. 2013-05-06 10:41:21 -07:00
John Benediktsson 720db54f61 math.statistics: change kth-object to properly clone underlying sequence first. 2013-05-06 10:40:53 -07:00
John Benediktsson 6a4638fa0f math.statistics: faster cum-mean. 2013-05-06 09:12:40 -07:00
John Benediktsson 0d806e0b69 Revert "math.statistics: change cum-mean to use v/."
This reverts commit 9df2235d8983da67d106a6d5fb297134e5e2a58e.
2013-05-06 09:08:11 -07:00
John Benediktsson b01b14c0e2 math.statistics: change cum-mean to use v/. 2013-05-06 08:59:02 -07:00
John Benediktsson 62d79dd125 math.combinators: adding unless-positive and unless-negative. 2013-05-06 08:45:29 -07:00
John Benediktsson bd8cc0a5f1 Revert "math.extras: change to <clumps> to match other moving- words."
This reverts commit 4c3d15e01a89a3383e77192ebcf969c2a17e7aa8.
2013-05-06 08:38:07 -07:00
John Benediktsson 92e8bdaf1a io.streams.random: slightly faster. 2013-05-06 08:35:03 -07:00
John Benediktsson a3cf0d70ba math.combinators: fix help-lint errors. 2013-05-06 08:34:32 -07:00
lorynj 5ccfb83a4d when-negative / when-positive
Convenience combinators to encapsulate testing numbers for being negative or positive, followed by call to a true quotation.

Signed-off-by: lorynj <lorynj@gmail.com>
2013-05-06 08:16:36 -07:00
lorynj ca7dd6a6a3 cum-mean
Added a word to calculate cumulative mean.

Signed-off-by: lorynj <lorynj@gmail.com>
2013-05-06 08:15:39 -07:00
John Benediktsson 0dc6240d4d math.extras: change to <clumps> to match other moving- words. 2013-05-02 16:50:30 -07:00
John Benediktsson 1a762e5ac5 sets.extras: adding non-repeating. 2013-05-02 16:37:31 -07:00
Doug Coleman c35586e347 zoneinfo: Add a basic test. 2013-05-02 09:15:40 -07:00
John Benediktsson fb441ca6dc sequences.extras: adding remove-first. 2013-05-02 08:23:25 -07:00
John Benediktsson b78e32733e sequences.windowed: faster windows and rolling words. 2013-05-01 22:18:26 -07:00
John Benediktsson 05ea081cd0 math.extras: adding monotonic-count and max-monotonic-count. 2013-05-01 21:56:34 -07:00
John Benediktsson 2e94cb312a math.finance: adding performance. 2013-05-01 21:24:09 -07:00
John Benediktsson 842a69c099 math.extras: add fill-nans. 2013-05-01 21:22:27 -07:00
John Benediktsson 1bf876fc06 combinators.extras: adding 3bi* and 3bi@. 2013-05-01 18:35:02 -07:00
Doug Coleman 16d24a5194 tools.ps.windows: Add read-peb and my-peb. 2013-05-01 18:15:15 -07:00
Doug Coleman a326b73470 windows.ntdll: Use the real field names for all the BYTE and reserved
dummy fields.
2013-05-01 18:15:14 -07:00
John Benediktsson 23cb4c2f48 sequences.extras: fix test for arg-where. 2013-05-01 17:19:02 -07:00
John Benediktsson e820dfa386 sequences.extras: faster arg-max, arg-min, arg-where, cleanup. 2013-05-01 14:31:14 -07:00
John Benediktsson bcce56f46b sequences.extras: cleanup, make reverse-as faster. 2013-05-01 14:09:34 -07:00
John Benediktsson 9243d39ef5 sequences.extras: adding cut-slice*. 2013-05-01 14:03:58 -07:00
Doug Coleman b4de3d0a2f unix.linux.proc: Handle a unified processor-info object for linux 2.6 and on. Add unit tests. Fixes #877. 2013-05-01 12:25:49 -07:00
John Benediktsson 9cb7c1e42d infix: update docs for recent changes. 2013-05-01 11:57:20 -07:00
John Benediktsson 2aa49d6434 rosetta-code.josephus-problem: change to use josephus-2 if k=2. 2013-05-01 11:25:40 -07:00
John Benediktsson c1ab4aab59 math.combinatorics: faster by using hints for the array common case. 2013-05-01 11:18:17 -07:00
John Benediktsson 55a9df63f7 rosetta-code.josephus-problem: adding solution for josephus problem. 2013-05-01 11:16:41 -07:00
Doug Coleman 65a7175cb6 unix.linux.proc: Pad tail with f for cpu-info. Fixes #877. 2013-04-30 16:47:09 -07:00
Doug Coleman 9e14cee4cf windows.ntdll: Make this Windows-only. 2013-04-27 02:47:52 -07:00
Doug Coleman 90c7c3fc81 tools.ps.windows: Implement ps. for Windows! 2013-04-26 21:15:12 -07:00
Doug Coleman c95c0fcc98 windows: Add ntdll and bind to more process listing functions. 2013-04-26 21:15:12 -07:00
John Benediktsson 63050f68e2 colors.ryb: adding RYB colors. 2013-04-26 18:52:01 -07:00
John Benediktsson 7e77723104 colors: fix minor TYpo in docs. 2013-04-26 18:51:06 -07:00
John Benediktsson 3139ec1d61 tools.test: allow testing from the command-line. 2013-04-26 17:43:39 -07:00