Commit Graph

63 Commits (14b1418f6a0c76397d0030c548408c56b4031163)

Author SHA1 Message Date
John Benediktsson 08dd854b15 lists: check for errors like L{ . 3 }. 2020-02-24 09:11:46 -08:00
John Benediktsson 20f0b8aa28 lists: make multiple dots a syntax error. 2020-02-23 07:29:02 -08:00
John Benediktsson 83e46eb030 lists: simplify parse-list-literal to fix bootstrap issue. 2020-02-22 20:37:10 -08:00
kusumotonorio 0f6ec42e3e lists.factor: rest: --> . 2020-02-22 19:58:55 -08:00
kusumotonorio 384f976deb lists.factor: Added some vocab 2020-02-22 19:58:55 -08:00
kusumotonorio a38b3dfd83 Supports dotted pair notation 2020-02-22 19:58:55 -08:00
Doug Coleman 114f58d894 lists: Add list literals.
Fixes #2019.
2019-10-16 09:10:41 -07:00
Doug Coleman 7999e72aec Revert "lists: Add list literal doc example."
This reverts commit 47408528d0.
2018-07-30 12:02:42 -05:00
Doug Coleman 6810fc42b0 Revert "lists: Add list literals."
This reverts commit ae74a794e1.

The listener forces lazy lists, which is not what we want. We need a different approach for prettyprinting lazy lists.
2018-07-30 12:01:28 -05:00
Doug Coleman 47408528d0 lists: Add list literal doc example. 2018-07-13 22:58:57 -05:00
Doug Coleman ae74a794e1 lists: Add list literals.
Fixes #2019.
2018-07-13 20:36:50 -05:00
Doug Coleman 4e9d383fe5 docs: Fix help-lint-all mistakes. 2018-07-07 01:13:19 -05:00
John Benediktsson 607de53ad3 more test IN: cleanup. 2018-02-25 15:44:16 -08:00
Jon Harper 5af166b8f5 add DOCTYPE html in most places.
4ef4235 started it. This is also good for html emails like in
extra/webapps/mason/backend/watchdog/watchdog.factor .

I just grepped for "<html>".
2017-01-05 09:03:46 -08:00
John Benediktsson 0add9190c2 lists: more cleanup. 2016-04-18 09:46:49 -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
Doug Coleman 41209a3a42 summary.txt: Delete empty lines and empty files. 2016-03-30 22:11:51 -07:00
John Benediktsson 497f8cb514 Update tests for LICENSE.txt rename. 2016-03-16 10:13:56 -07:00
Alexander Iljin 13b4b76632 Fix a word in some old documentation on lazy lists. 2015-09-29 09:12:35 -07:00
John Benediktsson f8bf42bce8 lists: adding deeplist>array. 2015-07-14 16:35:59 -07:00
Doug Coleman 892c62e1dc factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test 2015-07-03 09:39:59 -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
Benjamin Pollack 2c3dd8c3c8 Remove executable bit from tons of files that aren't 2014-11-05 20:40:42 -08:00
Björn Lindqvist 239deaeaaa lists.lazy.tests: plugs file descriptor leak 2014-10-03 07:12:28 -07:00
John Benediktsson e5925cf5ad lists: cleanup usings. 2014-09-28 17:21:04 -07:00
Iskander Sitdikov edff21ada3 Refactor >list to be a generic word 2014-09-28 17:17:22 -07:00
John Benediktsson 57f9d78892 improve help by linking to types directly. 2014-05-23 20:20:15 -07:00
John Benediktsson 98935b7f15 docs: change ``{ $quotation "( x -- y )" }`` to ``{ $quotation ( x -- y ) }``. 2014-05-18 20:09:10 -07:00
Doug Coleman 542e7cd95e lists: Fix lists 2013-03-24 21:48:40 -07:00
John Benediktsson 72be6c69be lists: fix for renaming. 2013-03-24 14:15:32 -07:00
Doug Coleman 791f87bdf7 lists: Rename some list words 2013-03-24 10:11:17 -07:00
John Benediktsson 74cdcba2cd fix some docs to have string article names. 2012-07-31 14:41:32 -07:00
Samuel Tardieu 83d8569197 lazy.lists: lfrom-by documentation fix
Also add a unit test for lfrom-by.
2011-12-06 21:08:16 +01:00
Joe Groff 0856bb5711 lists: make lmap behave row-polymorphically
Fix contributed by @bremac. Fixes #355.
2011-11-07 10:37:35 -08:00
John Benediktsson 81714b8dc3 More lint cleanups. 2011-10-16 19:33:16 -07:00
Doug Coleman 623ccb95e6 Remove some duplication in lists 2011-10-14 12:08:48 -07:00
Keita Haga 4c864999e4 lists: fix a few typos in docs 2011-02-25 19:59:44 +09:00
Joe Groff 18f3df9d4a more help-lint 2010-03-09 21:02:43 -08:00
Joe Groff 191ac353fd generalize stack effects so we can bootstrap with the stricter stack effect checking 2010-03-08 23:38:10 -08:00
Slava Pestov 220dd88a2c Update documentation for new help lint check 2010-02-19 12:31:52 +13:00
Doug Coleman 8c1d202b4c Rename accumulator to collector, pusher to selector 2010-01-22 15:00:53 -06:00
Slava Pestov c5387cdcdb lists: nothing was using the traverse combinator and it had a stack effect error. nuked 2009-11-09 00:54:15 -06:00
Slava Pestov ddd13c8979 lists.lazy: fix luntil 2009-11-06 04:31:22 -06:00
Joe Groff 61d579360d remove non-primitive-related uses of tuck from basis 2009-11-05 17:03:24 -06:00
Doug Coleman 0d4b9132d7 fix a bunch of typos in docs 2009-10-21 17:40:43 -05:00
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04: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 f33883658a fix lazy lists 2009-05-18 16:17:11 -05:00