Commit Graph

23 Commits (29ca470b791a1e9dbbfd6d7a8c147f3bf3380ec6)

Author SHA1 Message Date
Doug Coleman cbfb1422c8 grouping: Fix docs 2013-03-25 11:57:25 -07:00
Doug Coleman 11af4e1781 grouping: Remove <clumps> and <circular-clumps> and rename <sliced-clumps>
and <sliced-circular-clumps> to those. Fixes #765.
2013-03-23 11:38:05 -07:00
Doug Coleman 8917ae9ad7 grouping: Remove <groups>, old <sliced-groups> is now <groups>. Fixes 2013-03-23 11:37:51 -07:00
Doug Coleman 0c5d70e881 grouping: The expectation is that if there is a virtual clump of length N, then each iteration through that clump there are N elements available. This patch breaks that assumption.
Revert "change clump when the group size is greater than the sequence length"

This reverts commit baedb316c5.

Conflicts:
	basis/grouping/grouping-docs.factor
	basis/grouping/grouping-tests.factor
	basis/grouping/grouping.factor
2012-10-29 09:47:15 -07:00
Jon Harper 93cf443f32 Allow circular clumps with a length smaller than the clump
Conflicts:
	basis/grouping/grouping-tests.factor
2012-10-28 13:41:41 -07:00
Jon Harper 7b7586fa54 clump: fix empty sequence input. rephrase docs a bit 2012-10-28 13:34:18 -07:00
Jon Harper 2fc1442771 change clump when the group size is greater than the sequence length 2012-10-28 13:34:08 -07:00
John Benediktsson a916bebcfe Fixing docs for recent stack effects additions. 2011-09-24 22:08:54 -07:00
Keita Haga 8f92ca2d47 classes.algebra, grouping, parser: replace 'seqence' with 'sequence' in docs 2011-01-04 21:02:11 +09:00
Doug Coleman bdecd564a3 Use keys/values where appropriate 2010-05-21 12:48:04 -05:00
Joe Groff d898ee86b6 grouping: add circular clumps (e.g. { 1 2 3 4 } 3 circular-clump => { { 1 2 3 } { 2 3 4 } { 3 4 1 } { 4 1 2 } } 2010-02-25 17:05:03 -08:00
Doug Coleman 9356da6fb3 Fix a few integers-as-sequences in docs 2010-01-14 17:20:43 -06:00
Doug Coleman 1476cdb974 reverse-here -> reverse! 2009-10-28 14:40:15 -05:00
Keith Lazuka bea4aa7662 docs: updated some docs to use new markup 2009-09-22 15:22:34 -04:00
Brad Christensen f8405e9c55 A number of documentation fixes.
* Short-circuit combinators now show correct stack effect for quots
 * Groups and Clumps unchecked examples corrected, made runnable in listener
 * Class operations had duplicate link to class-types
 * Protocol slots readability fixed
 * Tuple word property for "tuple-layout" corrected to "layout"
 * cond>quot sentence started in lowercase
 * Method precedence code example missing stack effect for GENERIC:, M: integer explain changed to detail an integer
 * Motivation for default streams readability
 * Default input and output streams duplicate readln link removed from output stream words section
 * Looping combinators do description clarified
 * Make philosophy missing space
 * Linear order protocol duplicate after? link removed
 * Parsing words readability fix
 * Copied note regarding with-compilation-unit from define to define-declared and define-inline
2009-08-10 23:34:25 -07:00
Slava Pestov 8385e9d9f5 Fixing compile errors, test failures and help lint failures 2009-03-23 17:12:41 -05:00
Slava Pestov 392516e845 More doc fixes 2009-01-16 14:20:29 -06:00
Slava Pestov 1f0c01183e Re-implement monotonic? without using rot 2009-01-15 15:24:46 -06:00
Doug Coleman 80782f699a fix a couple more typos in grouping 2009-01-07 13:38:34 -06:00
Slava Pestov e90c3879c0 Fix typo in example 2009-01-07 12:20:10 -06:00
U-C4\Administrator 7f218dde57 fix typo in grouping docs, add more examples 2009-01-07 11:05:53 -06:00
Slava Pestov 34792a9f23 Remove >r/r> 2008-12-17 19:17:37 -06:00
Slava Pestov ed3a81a503 Faster M: hashtable >alist performs less dispatch and allocates less junk 2008-11-11 23:03:50 -06:00