Commit Graph

118 Commits

Author SHA1 Message Date
Sergiu Ivanov 87c80bb6ef utils: Reimplement and type in-random. 2022-02-15 00:14:52 +01:00
Sergiu Ivanov b36d8adaa4 Remove procedure-fixed-arity?.
I don't really need this function.  I think I wrote it just to see how
I can count the arity of a procedure.
2022-02-13 20:09:50 +01:00
Sergiu Ivanov 2af8d9276b utils: Typed lists-transpose. 2022-02-13 19:33:04 +01:00
Sergiu Ivanov 20cc0a27d0 utils: Type multi-split-at. 2022-02-11 00:01:07 +01:00
Sergiu Ivanov 912da811f2 utils: Type hash->list/ordered. 2022-02-10 23:37:40 +01:00
Sergiu Ivanov 9defe51ee6 utils: Make collect-by-keys and collect-by-keys/sets polymorphic. 2022-02-10 00:12:50 +01:00
Sergiu Ivanov e01ba07724 utils: Type ht-values/list->set. 2022-02-10 00:08:49 +01:00
Sergiu Ivanov 50fb3dab59 utils: Type collect-by-key/sets. 2022-02-09 23:55:20 +01:00
Sergiu Ivanov cf3f20097b utils: Type collect-by-key. 2022-02-09 01:07:37 +01:00
Sergiu Ivanov 002b1a8006 utils: Remove the old definition of pretty-print-set. 2022-02-08 00:11:58 +01:00
Sergiu Ivanov 0179423be9 Utils: Type update-graph. 2022-02-08 00:08:42 +01:00
Sergiu Ivanov e1cf64a822 utils: Typed update-vertices/unweighted. 2022-02-06 23:44:03 +01:00
Sergiu Ivanov e4f7c956d4 utils: Type pretty-print-set-sets. 2022-02-04 00:06:19 +01:00
Sergiu Ivanov 2997319f1f utils: Type pretty-print-set. 2022-02-03 23:58:23 +01:00
Sergiu Ivanov 211f39e91f utils: Type list-sets->list-strings. 2022-02-03 16:40:02 +01:00
Sergiu Ivanov 403401f085 utils: Type drop-first-last. 2022-02-03 10:55:34 +01:00
Sergiu Ivanov ec28541c46 utils: Type read-symbol-list. 2022-02-03 10:48:51 +01:00
Sergiu Ivanov b2f3306731 utils: Add dotit. 2022-02-03 00:09:11 +01:00
Sergiu Ivanov 746c586973 utils.rkt: Remove the left-over definitions of read-org-sexp and unorg. 2022-01-27 21:10:37 +01:00
Sergiu Ivanov 8b2bab4d9e utils: Type read-org-variable-mapping and unorgv. 2022-01-27 21:10:13 +01:00
Sergiu Ivanov 44de84de10 utils: Type unstringify-pairs. 2022-01-25 00:46:12 +01:00
Sergiu Ivanov c1967816b4 utils/typed: Explicitly provide Variable and VariableMapping.
These are not useful outside of utils/typed as of yet, but the time
will come.
2022-01-23 16:01:09 +01:00
Sergiu Ivanov 69a7234665 utils: Type read-org-sexp and unorg. 2022-01-23 15:57:50 +01:00
Sergiu Ivanov ec84924608 utils: Type map-sexp. 2022-01-23 15:50:06 +01:00
Sergiu Ivanov b6417d2d07 utils: Type handle-org-booleans. 2022-01-23 15:10:58 +01:00
Sergiu Ivanov 9d569bd3ba utils: Type string->any. 2022-01-23 13:53:41 +01:00
Sergiu Ivanov 783000318b utils: Type stringify-variable-mapping. 2022-01-23 13:47:36 +01:00
Sergiu Ivanov f30d9b9aa1 utils: Type any->string. 2022-01-20 19:58:06 +01:00
Sergiu Ivanov 8ffd252fc2 utils: Type extract-symbols. 2022-01-19 00:40:41 +01:00
Sergiu Ivanov 85d60c6a9b utils: Move auto-hash-ref/explicit and auto-hash-ref/: to the typed section. 2022-01-19 00:34:04 +01:00
Sergiu Ivanov 752d173279 utils: Fix some transient test errors. 2022-01-16 23:18:14 +01:00
Sergiu Ivanov 28fdc23324 utils: Type eval-with and eval1-with. 2022-01-16 23:11:00 +01:00
Sergiu Ivanov 4490cadf58 utils: Add Variable and VariableMapping. 2022-01-16 21:00:41 +01:00
Sergiu Ivanov 33ddd747c3 Start a typed section in utils. 2022-01-16 20:48:20 +01:00
Sergiu Ivanov 096f21a47f Remove hash-intersect.
This function was merged into Racket.
2021-04-29 20:50:26 +02:00
Sergiu Ivanov ed44d3666c utils: Streamline multi-split-at. 2020-11-03 23:58:26 +01:00
Sergiu Ivanov 722b45d098 utils: Remove hash-filter.
Use for/hash with #:when or #:unless instead.
2020-11-01 23:43:23 +01:00
Sergiu Ivanov a00f21ad18 utils,hash-filter: Say that how the comparison predicate of the result is determined. 2020-10-31 00:27:16 +01:00
Sergiu Ivanov 73756d8974 utils: Add hash-filter. 2020-10-31 00:19:38 +01:00
Sergiu Ivanov a98ed9b325 utils: Typo in the error message in hash-intersect. 2020-08-01 23:10:32 +02:00
Sergiu Ivanov 9c9cd78eaa utils: Add hash-intersect. 2020-07-29 23:25:34 +02:00
Sergiu Ivanov f7bd120033 utils, Additional list utilities: Also talk about hash maps. 2020-07-23 23:47:38 +02:00
Sergiu Ivanov 180810a2aa utils: 0-1 -> 01
Shorter and easier to type.
2020-06-06 08:23:55 +02:00
Sergiu Ivanov 8e6002040a utils: Add 0-1->boolean. 2020-06-05 00:03:46 +02:00
Sergiu Ivanov 83dd673df9 utils: any->boolean -> any->0-1. 2020-06-04 23:47:10 +02:00
Sergiu Ivanov 458868ea21 any->boolean: Move from networks to utils. 2020-06-03 23:42:47 +02:00
Sergiu Ivanov 90bebbded9 boolean-power,boolean-power-stream: Move from networks to utils. 2020-05-28 00:24:02 +02:00
Sergiu Ivanov 48394daa7a utils: Set the seed of the random generator in each test case. 2020-05-26 22:45:36 +02:00
Sergiu Ivanov 168b898080 utils/test: Use test-case and define instead of let. 2020-05-24 00:38:05 +02:00
Sergiu Ivanov ff9189270e utils: Move the tests into the test submodule. 2020-05-22 23:40:26 +02:00