siedentop
bce6f5a3e6
Uniq: --count
flag to count occurences ( #2017 )
...
* uniq: Add counting option (WIP!)
Usage:
fetch https://raw.githubusercontent.com/timbray/topfew/master/test/data/access-1k | lines | wrap item | uniq | sort-by count | last 10
* uniq: Add first test
* uniq: Re-enable the non-counting variant.
* uniq: Also handle primitive lines.
* uniq: Update documentation
* uniq: Final comment about error handling. Let's get some feedback
* uniq: Address review comments.
Not happy with the way I create a TypeError. There must be a cleaner
way. Anyway, good for shipping.
* uniq: Use Labeled_error as suggested by jturner in chat.
* uniq: Return error directly.
Co-authored-by: Christoph Siedentop <christoph@siedentop.name>
2020-06-21 12:22:06 +12:00
..
2020-06-15 09:00:42 +12:00
2020-06-20 00:28:03 -05:00
2020-06-04 15:21:13 -05:00
2020-06-14 07:13:36 +12:00
2020-06-14 07:13:36 +12:00
2020-06-12 20:34:41 +12:00
2020-05-30 11:36:04 +12:00
2020-03-04 13:58:20 -05:00
2020-06-21 07:25:07 +12:00
2020-05-30 11:36:04 +12:00
2020-06-19 05:34:51 +12:00
2020-05-30 11:36:04 +12:00
2020-05-30 11:36:04 +12:00
2020-05-30 11:36:04 +12:00
2020-05-30 11:36:04 +12:00
2020-06-14 07:13:36 +12:00
2020-05-30 11:36:04 +12:00
2020-05-30 11:36:04 +12:00
2020-05-30 11:36:04 +12:00
2020-05-30 11:36:04 +12:00
2020-05-30 11:36:04 +12:00
2020-05-30 16:34:39 +12:00
2020-05-30 16:34:39 +12:00
2020-05-30 16:34:39 +12:00
2020-05-30 16:34:39 +12:00
2020-06-18 21:02:01 -05:00
2020-06-14 07:13:36 +12:00
2020-06-12 20:34:41 +12:00
2020-06-08 16:48:10 +12:00
2020-06-17 07:58:41 +12:00
2020-06-08 16:48:10 +12:00
2020-06-06 19:42:06 +12:00
2020-06-14 10:01:44 +12:00
2020-06-06 19:42:06 +12:00
2020-06-06 19:42:06 +12:00
2020-06-06 19:42:06 +12:00
2020-06-08 16:48:10 +12:00
2020-06-14 10:01:44 +12:00
2020-06-06 19:42:06 +12:00
2020-06-13 20:43:21 +12:00
2020-06-13 16:03:39 +12:00
2020-06-06 19:42:06 +12:00
2020-06-13 16:03:39 +12:00
2020-06-13 16:03:39 +12:00
2020-06-06 19:42:06 +12:00
2020-06-06 19:42:06 +12:00
2020-06-06 19:42:06 +12:00
2020-06-14 07:13:36 +12:00
2020-06-13 16:03:39 +12:00
2020-06-17 07:12:04 +12:00
2020-06-12 20:34:41 +12:00
2020-06-14 10:01:44 +12:00
2020-06-17 13:34:17 -05:00
2020-06-17 13:34:17 -05:00
2020-06-13 16:03:39 +12:00
2020-06-14 10:01:44 +12:00
2020-06-17 13:34:17 -05:00
2020-06-13 20:43:21 +12:00
2020-06-13 16:03:39 +12:00
2020-06-14 10:01:44 +12:00
2020-06-14 11:54:35 +12:00
2020-06-14 11:54:35 +12:00
2020-06-13 16:03:39 +12:00
2020-06-13 20:43:21 +12:00
2020-06-06 19:42:06 +12:00
2020-06-15 09:00:42 +12:00
2020-05-30 11:36:04 +12:00
2020-03-04 13:58:20 -05:00
2020-06-08 16:48:10 +12:00
2020-06-13 20:43:21 +12:00
2020-06-06 15:13:38 -04:00
2020-06-13 20:03:13 +12:00
2020-05-29 20:22:52 +12:00
2020-06-13 20:43:21 +12:00
2020-06-11 19:37:43 -05:00
2020-06-13 20:43:21 +12:00
2020-06-15 09:00:42 +12:00
2020-06-13 16:03:39 +12:00
2020-05-29 20:22:52 +12:00
2020-06-06 19:42:06 +12:00
2020-06-13 16:03:39 +12:00
2020-06-06 19:42:06 +12:00
2020-06-13 20:43:21 +12:00
2020-06-13 20:43:21 +12:00
2020-06-13 16:03:39 +12:00
2020-06-04 20:42:23 +12:00
2020-06-13 20:43:21 +12:00
2020-06-13 20:43:21 +12:00
2020-06-13 20:03:13 +12:00
2020-06-14 10:01:44 +12:00
2020-05-29 20:22:52 +12:00
2020-06-13 20:43:21 +12:00
2020-05-29 20:22:52 +12:00
2020-06-17 14:08:09 -05:00
2020-06-14 11:54:35 +12:00
2020-06-06 19:42:06 +12:00
2020-06-19 23:34:36 -05:00
2020-06-17 13:34:17 -05:00
2020-06-17 13:34:17 -05:00
2020-06-21 07:25:07 +12:00
2020-05-29 20:22:52 +12:00
2020-06-14 07:13:36 +12:00
2020-06-14 07:13:36 +12:00
2020-06-14 07:13:36 +12:00
2020-06-08 16:48:10 +12:00
2020-06-14 07:13:36 +12:00
2020-06-08 16:48:10 +12:00
2020-06-08 16:48:10 +12:00
2020-06-14 07:13:36 +12:00
2020-06-14 07:13:36 +12:00
2020-06-13 16:03:39 +12:00
2020-06-13 16:03:39 +12:00
2020-06-13 20:43:21 +12:00
2020-06-13 20:03:13 +12:00
2020-05-29 20:22:52 +12:00
2020-06-21 12:22:06 +12:00
2020-06-13 16:03:39 +12:00
2020-05-29 20:22:52 +12:00
2020-06-13 11:40:23 +12:00
2020-06-14 07:13:36 +12:00
2020-06-13 16:03:39 +12:00
2020-06-14 10:01:44 +12:00
2020-06-13 11:40:23 +12:00