List Commands Library for 50g
|
10-05-2017, 08:18 PM
Post: #208
|
|||
|
|||
RE: List Commands Library for 50g
Another question (actually two)
A question has come up about the "count" argument that is passed to LSDIV. In its present form, the count argument for LSDIV designates the number of sublists to create: { 1 2 3 4 5 6 } 2 LSDIV => { { 1 2 3 } { 4 5 6 } } It has been suggested that the count argument should represent the number of sublist elements in each sublist instead of the count of sublists: { 1 2 3 4 5 6 } 2 LSDIV => { { 1 2 } { 3 4 } { 5 6 } } Once again, I am ambivalent about this and don't have a strong preference in either direction. So... Question 3: Which quantity do you think the count argument should specify for LSDIV?
Related to the above is a similar question for LDIST. The count argument for that command currently specifies the number of sublists to distribute the list elements into: { 1 2 3 4 5 6 } 2 LDIST => { { 1 3 5 } { 2 4 6 } } With a similar treatment to the above question, the following would be the new result: { 1 2 3 4 5 6 } 2 LDIST => { { 1 4 } { 2 5 } { 3 6 } } My own personal preference for this one is to keep it the way it is, mostly because I tend to think of the LDIST/LCLLT pair as being focused on "count of piles" instead of "size of piles" (LDIST was originally created while thinking of distributing cards into N hands). But I wouldn't call this a strong preference; I have no problem going with the consensus on this, regardless of the outcome. Question 4: Which quantity should the count argument specify for LDIST?
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 12 Guest(s)