Bob Nystrom
d46dfc9500
Allow "*" on lists and strings to repeat them.
...
This is not implemented on Sequence because, at least for lists and
strings, I think users expect an eager result. Multiplying a string
should give you back a string, not a lazy sequence of repeated
characters.
This also mirrors "+" on strings and lists, which is eager. I like the
idea of having a general guideline that operators are eager.
Repetition is useful for arbitrary sequences, but for that maybe we
should add a "repeat()" method.
2016-02-24 07:48:03 -08:00
..
2015-09-15 07:46:09 -07:00
2015-09-15 07:46:09 -07:00
2015-09-15 07:46:09 -07:00
2015-09-15 07:46:09 -07:00
2015-09-15 07:46:09 -07:00
2015-03-19 21:10:05 +01:00
2015-09-15 07:46:09 -07:00
2015-09-15 07:46:09 -07:00
2015-09-15 07:46:09 -07:00
2015-03-31 21:53:29 +02:00
2015-09-15 07:46:09 -07:00
2015-03-15 22:51:24 +01:00
2015-03-15 22:51:24 +01:00
2015-03-15 22:51:24 +01:00
2015-03-15 22:51:24 +01:00
2015-09-15 07:46:09 -07:00
2015-03-14 12:45:56 -07:00
2015-03-14 12:45:56 -07:00
2015-09-15 07:46:09 -07:00
2015-03-14 12:45:56 -07:00
2015-03-14 12:45:56 -07:00
2015-03-14 12:45:56 -07:00
2015-03-14 12:45:56 -07:00
2015-09-15 07:46:09 -07:00
2015-03-14 12:45:56 -07:00
2015-09-16 07:15:48 -07:00
2015-09-15 07:46:09 -07:00
2016-02-24 07:48:03 -08:00
2016-02-24 07:48:03 -08:00
2016-02-24 07:48:03 -08:00
2016-02-24 07:48:03 -08:00
2015-09-15 07:46:09 -07:00
2015-09-15 07:46:09 -07:00
2016-02-24 07:48:03 -08:00
2016-02-24 07:48:03 -08:00
2015-03-14 12:45:56 -07:00
2015-09-15 07:46:09 -07:00
2015-03-14 12:45:56 -07:00
2015-09-15 07:46:09 -07:00
2015-03-14 12:45:56 -07:00
2015-03-14 12:45:56 -07:00
2015-03-14 12:45:56 -07:00
2015-03-14 12:45:56 -07:00
2015-09-15 07:46:09 -07:00
2015-03-14 12:45:56 -07:00
2015-03-14 12:45:56 -07:00
2015-03-14 12:45:56 -07:00
2015-03-14 12:45:56 -07:00
2015-03-14 12:45:56 -07:00
2015-03-14 12:45:56 -07:00
2015-03-14 12:45:56 -07:00
2015-03-14 12:45:56 -07:00
2015-03-14 12:45:56 -07:00
2015-12-06 10:37:58 -08:00
2015-03-14 12:45:56 -07:00
2015-03-14 12:45:56 -07:00
2015-03-14 12:45:56 -07:00
2015-03-14 12:45:56 -07:00
2015-09-15 07:46:09 -07:00
2015-03-14 12:45:56 -07:00
2015-03-14 12:45:56 -07:00
2015-03-14 12:45:56 -07:00
2015-09-15 07:46:09 -07:00
2015-09-15 07:46:09 -07:00
2015-09-15 07:46:09 -07:00
2015-09-15 07:46:09 -07:00