Commit Graph

103 Commits

Author SHA1 Message Date
Sergiu Ivanov
522dbaa85c utils.rkt: Add dotit. 2020-12-21 23:23:11 +01:00
Sergiu Ivanov
e5ad2f027c utils.rkt: Use multi-compose instead of compose-3. 2020-12-21 22:01:28 +01:00
Sergiu Ivanov
31b1174562 utils.rkt: Replace compose-related definitions with requiring typed-compose. 2020-12-21 22:00:29 +01:00
Sergiu Ivanov
3ed8f24277 utils.rkt: Replace multi-compose by the implementation by Sorawee. 2020-12-16 23:21:33 +01:00
Sergiu Ivanov
b73a5ce91e utils: Add multi-compose. 2020-12-16 23:09:35 +01:00
Sergiu Ivanov
6a38d1a5d3 utils: Move compose-related functions to their own section. 2020-12-12 23:35:40 +01:00
Sergiu Ivanov
f68731cf46 utils: Add read-org-variable-mapping and unorgv. 2020-12-12 23:25:11 +01:00
Sergiu Ivanov
6a0aa4ca7a utils: Add compose-n, compose-3, and compose-4. 2020-12-12 23:24:46 +01:00
Sergiu Ivanov
cdd3dd8904 utils.rkt: Add GeneralPair and copy unstringify-pairs. 2020-12-06 23:42:59 +01:00
Sergiu Ivanov
03f51f188e utils.rkt: Provide Variable, not Symbol. 2020-12-06 22:49:02 +01:00
Sergiu Ivanov
44f89099de utils.rkt: Copy read-org-sexp and unorg. 2020-12-06 22:28:45 +01:00
Sergiu Ivanov
9e95a1a5ea utils.rkt: Add map-sexp. 2020-12-06 21:59:28 +01:00
Sergiu Ivanov
a3a8dbf8cc utils.rkt: Add handle-org-booleans. 2020-12-06 21:58:49 +01:00
Sergiu Ivanov
bfbe480b06 utils.rkt: Copy string->any. 2020-12-05 00:33:14 +01:00
Sergiu Ivanov
87ab73d0c3 utils.rkt: Copy stringify-variable-mapping. 2020-12-05 00:22:49 +01:00
Sergiu Ivanov
c063723b5c utils.rkt: Copy any->string. 2020-12-04 23:43:53 +01:00
Sergiu Ivanov
5c1a8e0020 utils.rkt: Copy over extract-symbols. 2020-12-04 04:03:22 +01:00
Sergiu Ivanov
ac667e23ea utils.rkt: Copy auto-hash-ref/explicit and auto-hash-ref/: 2020-12-04 03:16:38 +01:00
Sergiu Ivanov
a1ef9b5854 utils: Add eval-with and eval1-with. 2020-11-30 23:54:45 +01:00
Sergiu Ivanov
f031d509a6 utils: Start converting to Typed Racket. 2020-11-30 22:59:46 +01: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
Sergiu Ivanov
036b9b7973 utils: Make read-org-sexp recursively apply string->any. 2020-05-06 23:03:15 +02:00
Sergiu Ivanov
502e564fc7 Add map-sexp. 2020-04-14 15:57:26 +02:00
Sergiu Ivanov
43a2f1aff0 utils: Handle Booleans when reading Org-mode tables. 2020-04-05 22:35:21 +02:00
Sergiu Ivanov
086f4c4949 utils: Add unorg. 2020-03-25 00:19:28 +01:00
Sergiu Ivanov
a8a981098f utils: unorg -> unorgv 2020-03-25 00:16:29 +01:00
Sergiu Ivanov
62ae1e3af1 utils: Convert dotit and unorg to functions. 2020-03-25 00:03:26 +01:00
Sergiu Ivanov
8bc2a582a6 utils: Remove sgfy. 2020-03-24 23:47:20 +01:00
Sergiu Ivanov
502fcb18bb utils: Simplify read-org-variable-mapping. 2020-03-24 21:17:05 +01:00
Sergiu Ivanov
f1514fffe3 utils: Add lists-transpose. 2020-03-23 22:47:52 +01:00
Sergiu Ivanov
df042493d9 utils: Add multi-split-at. 2020-03-23 22:32:39 +01:00
Sergiu Ivanov
27fa176d0f utils: Make read-org-variable-mapping return an immutable hash. 2020-03-22 21:01:51 +01:00
Sergiu Ivanov
f0ac9223e4 utils: Don't forget hash->list/ordered (the tests were broken). 2020-03-21 19:23:30 +01:00
Sergiu Ivanov
8505d2d590 utils: Add hash->list/ordered. 2020-03-21 19:16:24 +01:00
Sergiu Ivanov
435ee34acb utils: Refactor update-graph.
Make update-graph follow a little bit more the guidelines here:
https://docs.racket-lang.org/style/Choosing_the_Right_Construct.html
2020-03-20 21:42:10 +01:00
Sergiu Ivanov
34fbc516e2 utils: Add cartesian-product/stream. 2020-03-20 16:07:34 +01:00