Commit graph

671 commits

Author SHA1 Message Date
Sergiu Ivanov
81496a2ee7 Move tabulate/01 and tabulate*/01 to the untyped submodule. 2022-04-10 19:36:00 +02:00
Sergiu Ivanov
1b22ba4a7e Add tabulate/pv/boolean and tabulate*/pv/boolean. 2022-04-09 02:03:51 +02:00
Sergiu Ivanov
c19d18122c Move tabulate/boolean and tabulate*/boolean to typed/untyped. 2022-04-09 01:32:54 +02:00
Sergiu Ivanov
096d536908 Start functions/untyped. 2022-04-09 01:12:17 +02:00
Sergiu Ivanov
f2a9336d71 Untyped code → Untyped definitions 2022-04-07 00:41:35 +02:00
Sergiu Ivanov
f29bb3956d untyped → utils/untyped
Otherwise there will be conflicts with other modules.
2022-04-07 00:40:46 +02:00
Sergiu Ivanov
b1613ac1f7 utils: Explicitly document the untyped submodule. 2022-04-07 00:21:48 +02:00
Sergiu Ivanov
650801a6d2 Add the untyped submodule to utils. 2022-04-01 00:09:42 +02:00
Sergiu Ivanov
1e4f6d3fbc Use define-syntax-parse-rule in make-tabulate*. 2022-03-31 23:45:38 +02:00
Sergiu Ivanov
5aa816507d Use define-syntax-parser in auto-hash-ref/explicit. 2022-03-31 23:40:12 +02:00
Sergiu Ivanov
b07cda477f Add tabulate*/pv and tabulate/pv. 2022-03-21 00:04:21 +01:00
Sergiu Ivanov
8fb5bab803 Add syntax for defining pseudovariadic functions. 2022-03-20 20:42:29 +01:00
Sergiu Ivanov
8b838c0b22 Introduce pseudovariadic functions. 2022-03-20 19:34:48 +01:00
Sergiu Ivanov
1f281d3851 Rename the module in the example for tabulate*/untyped. 2022-03-06 23:41:24 +01:00
Sergiu Ivanov
e7616684f5 Add tabulate, tabulate/strict, and tabulate/untyped. 2022-03-06 23:39:51 +01:00
Sergiu Ivanov
fcf21c51aa Remove tabulate* from functions.rkt.
This temporarily breaks networks, but all breakages are easy to fix
with tabulate*/untyped.
2022-03-06 22:58:16 +01:00
Sergiu Ivanov
31d6275229 Add an explain tabulate*/untyped. 2022-03-06 22:53:33 +01:00
Sergiu Ivanov
37dddb190f Add make-tabulate* to factor out the common parts. 2022-03-06 21:45:21 +01:00
Sergiu Ivanov
929bf09299 Add append-lists. 2022-03-06 20:52:33 +01:00
Sergiu Ivanov
66f1157200 Add typed versions of tabulate* and tabulate*/strict. 2022-03-06 19:54:05 +01:00
Sergiu Ivanov
ccb70a5921 Prepare the Scribble infrastructure. 2022-03-05 21:37:24 +01:00
Sergiu Ivanov
cd94326ea3 Start typing functions. 2022-03-05 21:37:17 +01:00
Sergiu Ivanov
3e16dbe3c8 Only require rackunit in the test submodule. 2022-03-05 21:33:04 +01:00
Sergiu Ivanov
fa940eb0d3 Improve the explanation of hash->list/ordered. 2022-03-05 13:44:48 +01:00
Sergiu Ivanov
97d4c18305 Switch utils to Typed Racket. 2022-03-05 13:41:40 +01:00
Sergiu Ivanov
f62d53ed8f Add an easy type to variable-mapping? and remove the untyped section. 2022-03-05 13:29:37 +01:00
Sergiu Ivanov
bd6c62e3eb Update the roadmap. 2022-03-05 13:22:38 +01:00
Sergiu Ivanov
b026f74f39 Type 01->boolean. 2022-03-05 13:07:44 +01:00
Sergiu Ivanov
687aea5337 Type any->01. 2022-03-05 12:55:23 +01:00
Sergiu Ivanov
357fcad89f Mention functions. 2022-03-05 12:34:15 +01:00
Sergiu Ivanov
77cc8e295a Import stream->list and stream-take for-label. 2022-03-05 00:24:02 +01:00
Sergiu Ivanov
83b293e3e4 Type boolean-power/stream. 2022-03-05 00:20:51 +01:00
Sergiu Ivanov
347e17158d Type boolean-power. 2022-03-05 00:14:38 +01:00
Sergiu Ivanov
f5c762b6d8 Fix the sectioning. 2022-03-04 18:12:19 +01:00
Sergiu Ivanov
10f0e0ab0c Type cartesian-product/stream. 2022-03-04 18:08:49 +01:00
Sergiu Ivanov
8cd75b0fa3 utils: Add cartesian-product-2/stream. 2022-03-04 17:24:18 +01:00
Sergiu Ivanov
3918730e1a Streamline and simplify auto-hash-ref/:. 2022-02-20 18:27:36 +01:00
Sergiu Ivanov
fa015870d0 Simplify quoting and unquoting in auto-hash-ref/explicit. 2022-02-20 17:30:33 +01:00
Sergiu Ivanov
f6946d94ad Indentation. 2022-02-18 16:04:39 +01:00
Sergiu Ivanov
6679db9aa4 utils.rkt: Add a comment about an alternative implementation of lists-transpose. 2022-02-18 16:04:27 +01:00
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
ec50395cb0 networks: Add a copy of lists-transpose.
I will remove this copy when I will have migrated networks to
Typed Racket.
2022-02-13 19:48:21 +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