Commit Graph

75 Commits (clean-macosx-x86-64)

Author SHA1 Message Date
John Benediktsson ada81e77f5 generalizations: fix funny mnapply/nspread* bug for n > 3.
It accidentally worked for n <= 3, now it purposefully works.
2019-03-16 19:58:07 -07:00
Alexander Iljin 0637557cca *-docs: remove extra space character at the end of paragraghs 2018-08-21 10:45:52 -07:00
Doug Coleman 2920d2ee71 factor: Rename [curry] -> currier, remove some [foo] words.
The [foo] convention is not descriptive and looks like special syntax.
2017-08-06 00:20:35 -05: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 5aa89e6251 factor: Add newlines to every line. 2017-06-01 13:46:32 -05:00
Doug Coleman 8330256b1d combinators.extras, generalizations:: Add experimental combinators for 1res, 1arg. 2016-05-11 11:53:29 -07:00
John Benediktsson ceb75057da change ERROR: words from throw-foo back to foo. 2015-08-13 16:13:05 -07:00
Doug Coleman b6be8685c3 basis: ERROR: changes. 2015-08-13 03:20:39 -07:00
Doug Coleman 43fb73fae6 factor: Rename I[ ]I to [I I]. Fix places where we do "string"token without whitespace. 2015-08-06 17:05:12 -05:00
Doug Coleman 2c257f399c factor: Rename MACRO: and MACRO: to have quot as the output in stack effects. 2015-07-18 22:16:11 -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 43d6f1d3e2 factor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:. 2015-07-02 17:28:17 -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 e3cb325040 factor: clean up whitespace in -docs files 2015-07-02 10:31:22 -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
Doug Coleman c13b881517 generalizations: dos2unix 2015-05-20 15:02:04 -07:00
Doug Coleman 0a9c79752d generalizations: Only define npick for >= 1. Fixes #1306. 2015-05-20 15:01:49 -07:00
John Benediktsson 4f631c4f8b generalizations: fix docs for nrot and -nrot. 2014-02-10 20:40:01 -08:00
Doug Coleman abc953ecea help-lint fixes for recent changes 2011-12-07 12:26:35 -08:00
Doug Coleman 41e4c48647 combinators.smart: Fix reduce-outputs, rename quot*n to call-n, rewrite more macros as combinators. 2011-11-28 12:41:50 -08:00
Doug Coleman 2b87eaa1b5 generalizations: Refactor stack-checker so that smart combinators can be used with curry and compose. 2011-11-27 20:25:22 -08:00
Slava Pestov e30a429985 Fixing fallout from sequences.generalizations change 2010-05-18 22:59:07 -04:00
Slava Pestov ea726f5680 Move remaining sequence operations from generalizations to sequences.generalizations where they belong 2010-05-18 18:36:47 -04:00
Joe Groff ff2a53e1b8 clean up now-inappropriate uses of "..." in generalizations stack effects 2010-03-05 13:58:00 -08:00
Doug Coleman c6b37f4da4 Rewrite mnapply to be a combinator instead of a macro. Write nspread* to implement mnapply 2010-01-31 14:48:01 -06:00
Doug Coleman d3db7e0225 Add mnapply, smart-apply. Docs incoming soon 2010-01-29 13:47:06 -06:00
Slava Pestov df4fb4a3ee Removing integers-as-sequences 2010-01-15 07:15:33 +13:00
Slava Pestov 4f704a7ad3 generalizations: fix help lint 2009-11-06 04:20:25 -06:00
Joe Groff 9ec0c3e923 remove unused ntuck generalization, and rewrite napply not to use tuck 2009-11-05 16:12:13 -06:00
Joe Groff 02f209b30a remove unused nspin generalization 2009-11-05 13:16:20 -06:00
Joe Groff 3f1b664b74 break off a "sequences.generalizations" vocab for neach, nmap, and mnmap 2009-10-22 13:31:03 -05:00
Joe Groff 4ca7afa489 update nkeep docs 2009-10-15 15:44:07 -05:00
Joe Groff d413e14461 fix nkeep so it takes a nonliteral quot 2009-10-15 15:04:30 -05:00
Joe Groff d2c1f7c9c1 mnmap generalized m-to-n sequence combinator 2009-10-14 16:50:30 -05:00
Joe Groff d9fa247b84 nmap-as and nmap combinators 2009-10-14 00:38:51 -05:00
Joe Groff a0e27320df neach generalization 2009-10-14 00:09:57 -05:00
Joe Groff 18b3c120a7 add a set-firstn generalization 2009-10-08 14:42:59 -05:00
Joe Groff b150deeb11 refactor so that generalizations reuses the stub versions of nsequence, firstn, and n*quot needed by memoize 2009-10-08 12:55:52 -05:00
Joe Groff 5a2a99128b add an "nspin" generalization 2009-10-08 11:34:20 -05:00
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Slava Pestov 86118ce56a generalizations: make napply work with non-literal quotations 2009-09-29 23:28:43 -05:00
Doug Coleman 346636ed3b use iota in generalizaions 2009-08-19 09:53:13 -05:00
Doug Coleman 3f3d57032b Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring 2009-08-13 19:21:44 -05:00
Doug Coleman c3da7ae785 fix nover, add unit test 2009-06-19 12:58:17 -05:00
Doug Coleman 19f914bf72 add some unit tests for generalizations 2009-06-11 11:08:56 -05:00
Doug Coleman 52d8c841f1 add nover, nbi-curry, and nbi to generalizations 2009-06-11 11:03:18 -05:00
Doug Coleman 407377fc98 rename peek -> last and update all usages 2009-05-25 16:38:33 -05:00
Slava Pestov f6ff74596e Removing slip 2slip 3slip nslip 2009-05-10 16:39:17 -05:00
Slava Pestov 7094b78821 Add firstn-unsafe, input<sequence-unsafe 2009-04-26 21:22:06 -05:00