Commit graph

229 commits

Author SHA1 Message Date
Sergiu Ivanov
fc633c2e4c Move make-same-domains, make-boolean-domains, and make-01-domains to Utilities. 2022-05-01 01:07:33 +02:00
Sergiu Ivanov
458ba10ab5 Add 01->boolean/state (replacing booleanize-state). 2022-05-01 01:05:35 +02:00
Sergiu Ivanov
ba30e3dc5e Type update. 2022-05-01 00:33:43 +02:00
Sergiu Ivanov
9a2f1ff527 Type make-01-domains and make-01-network. 2022-04-30 23:21:42 +02:00
Sergiu Ivanov
4ea31d8f39 Typo. 2022-04-30 22:49:03 +02:00
Sergiu Ivanov
70be49b957 Start Common examples. 2022-04-30 00:23:38 +02:00
Sergiu Ivanov
5da523d297 Make the definitions for types the same as in Typed Racket docs. 2022-04-30 00:11:09 +02:00
Sergiu Ivanov
d02742ba6d Somewhat improve the sectioning. 2022-04-29 17:31:36 +02:00
Sergiu Ivanov
bed1ed24f3 Add and use deftype and defpolytype. 2022-04-29 16:32:22 +02:00
Sergiu Ivanov
e867a86d4d Add the type Domain. 2022-04-29 16:10:36 +02:00
Sergiu Ivanov
be729f6ca8 Type make-same-domains, make-boolean-domains, make-boolean-network. 2022-04-29 15:54:15 +02:00
Sergiu Ivanov
609de226a9 Basic definitions → Basic types 2022-04-29 15:33:46 +02:00
Sergiu Ivanov
883e845d9d Type network and add examples. 2022-04-28 23:47:37 +02:00
Sergiu Ivanov
8067f9e7f0 Make TBF appear as "type" in the docs. 2022-04-28 19:04:16 +02:00
Sergiu Ivanov
4927c0ec8c Give the instances of tbf the type TBF. 2022-04-27 19:00:13 +02:00
Sergiu Ivanov
86d52eed3b syntax → type as kinds of definitions in scribblings. 2022-04-27 18:45:09 +02:00
Sergiu Ivanov
5efe086d06 Add UpdateFunction and DomainMapping. 2022-04-27 00:15:03 +02:00
Sergiu Ivanov
85566d7479 Start migrating networks to Typed Racket. 2022-04-27 00:10:13 +02:00
Sergiu Ivanov
9182ea9ecb Switch functions entirely to Typed Racket. 2022-04-25 23:55:32 +02:00
Sergiu Ivanov
0e2b91fdd1 Add one more example to read-org-tbfs. 2022-04-25 23:46:22 +02:00
Sergiu Ivanov
974bf193ed Type read-org-sbfs. 2022-04-25 23:43:25 +02:00
Sergiu Ivanov
ef979d6dce Type list->sbf. 2022-04-25 23:29:48 +02:00
Sergiu Ivanov
945dfe1490 Type sbf. 2022-04-25 00:31:00 +02:00
Sergiu Ivanov
6d37f180ba Type sbf?. 2022-04-25 00:24:32 +02:00
Sergiu Ivanov
297d455207 Type tbf-tabulate*/boolean. 2022-04-25 00:17:03 +02:00
Sergiu Ivanov
9db0fcbdb4 Type tbf-tabulate. 2022-04-25 00:07:28 +02:00
Sergiu Ivanov
da6f5acf4e functions.scrbl: Add shortcuts for @examples. 2022-04-24 23:59:55 +02:00
Sergiu Ivanov
e1a97235c0 Add some shortcuts for the examples.
Inspired from the scribblings in Typed Racket.
2022-04-24 23:59:40 +02:00
Sergiu Ivanov
8ded018c05 Type tbf-tabulate*. 2022-04-24 23:25:10 +02:00
Sergiu Ivanov
64daec5065 Add and use assert-type in utils. 2022-04-24 14:34:57 +02:00
Sergiu Ivanov
0e9a974965 Add tabulate*/list/boolean tabulate/list/boolean tabulate*/list/01 tabulate/list/01. 2022-04-22 16:20:25 +02:00
Sergiu Ivanov
47f7f70241 Add tabulate*/list tabulate/list. 2022-04-22 15:12:41 +02:00
Sergiu Ivanov
79a688a3e5 Type read-org-tbfs. 2022-04-21 16:56:58 +02:00
Sergiu Ivanov
1f01917f8a Type lists->tbfs. 2022-04-21 15:37:55 +02:00
Sergiu Ivanov
d9734a5a35 Type list->tbf. 2022-04-21 15:00:50 +02:00
Sergiu Ivanov
cbede999df Type apply-tbf/boolean. 2022-04-21 15:00:24 +02:00
Sergiu Ivanov
1863b0829c Type apply-tbf. 2022-04-21 14:20:22 +02:00
Sergiu Ivanov
027022524b vector-boolean->01 → boolean->01/vector 2022-04-21 14:06:23 +02:00
Sergiu Ivanov
f3a8c65e9d Type vector-boolean->01. 2022-04-21 13:49:15 +02:00
Sergiu Ivanov
e44d9c7748 Type tbf-w and tbf-θ. 2022-04-21 11:50:56 +02:00
Sergiu Ivanov
cc137a5459 Type tbf. 2022-04-21 11:42:50 +02:00
Sergiu Ivanov
212440add1 Typed random-boolean-function/list. 2022-04-21 11:23:36 +02:00
Sergiu Ivanov
9ad3a69c27 functions: Integer → Positive-Integer for arities. 2022-04-21 11:09:52 +02:00
Sergiu Ivanov
242ea9d31d Type random-boolean-function. 2022-04-21 11:03:57 +02:00
Sergiu Ivanov
a7a25f92fe Type random-boolean-table. 2022-04-21 10:46:21 +02:00
Sergiu Ivanov
52bf1b2f58 Type enumerate-boolean-functions/list. 2022-04-19 23:31:28 +02:00
Sergiu Ivanov
a201e537e1 Add enumerate-boolean-functions/pv. 2022-04-19 23:14:40 +02:00
Sergiu Ivanov
a4a6604ecd Type enumerate-boolean-functions. 2022-04-18 23:26:52 +02:00
Sergiu Ivanov
fa63875022 Type enumerate-boolean-tables. 2022-04-18 01:00:34 +02:00
Sergiu Ivanov
4272cd87a8 Add table->function/pv. 2022-04-16 00:17:44 +02:00
Sergiu Ivanov
1324be292e Add table->function. 2022-04-16 00:11:58 +02:00
Sergiu Ivanov
3b51a4ba51 Add table->function/list. 2022-04-13 00:50:53 +02:00
Sergiu Ivanov
1503434306 Add tabulate*/pv/01 and tabulate/pv/01. 2022-04-10 22:37:50 +02:00
Sergiu Ivanov
6102a2b8f3 Fix the labels and add explicit "(untyped)" to conflicts. 2022-04-10 19:55:28 +02:00
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
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
31d6275229 Add an explain tabulate*/untyped. 2022-03-06 22:53:33 +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
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
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
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
87c80bb6ef utils: Reimplement and type in-random. 2022-02-15 00:14:52 +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
67ae415064 utils.scrbl: Require typed/graph in a separate place. 2022-02-08 00:10:49 +01:00
Sergiu Ivanov
0179423be9 Utils: Type update-graph. 2022-02-08 00:08:42 +01:00
Sergiu Ivanov
45a60cd122 utils.scrbl: Improve the doc for dotit. 2022-02-06 23:55:21 +01:00
Sergiu Ivanov
e1cf64a822 utils: Typed update-vertices/unweighted. 2022-02-06 23:44:03 +01:00
Sergiu Ivanov
25b4216faf utils.scrbl: Move Pretty printing before Additional graph utilities. 2022-02-04 00:09:39 +01:00
Sergiu Ivanov
8d5d41233e utils.scrbl: Move the pretty printing functions to their section. 2022-02-04 00:08:22 +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
4703bfcce8 utils.scrbl: Include the whole Typed Racket for the examples. 2022-02-03 16:00:20 +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
ebd960de53 utils.scrbl: Import the whole of typed/racket/base for-label. 2022-01-27 21:10:59 +01:00
Sergiu Ivanov
8b2bab4d9e utils: Type read-org-variable-mapping and unorgv. 2022-01-27 21:10:13 +01:00
Sergiu Ivanov
73afefdeb2 utils.scrbl: Import -> from typed/racket/base. 2022-01-26 16:35:03 +01:00
Sergiu Ivanov
44de84de10 utils: Type unstringify-pairs. 2022-01-25 00:46:12 +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
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
d64ecfb207 utils.scrbl: Add a TODO note about the broken hyperlinks. 2022-01-16 23:11:06 +01:00
Sergiu Ivanov
28fdc23324 utils: Type eval-with and eval1-with. 2022-01-16 23:11:00 +01:00
Sergiu Ivanov
29a9c57ebd utils.scrbl: Add the note about Typed Racket. 2022-01-16 21:09:50 +01:00
Sergiu Ivanov
4490cadf58 utils: Add Variable and VariableMapping. 2022-01-16 21:00:41 +01:00
Sergiu Ivanov
7f0d261e98 utils.scrbl: Add eval-with. 2020-11-29 23:07:40 +01:00
Sergiu Ivanov
b8fcfb2374 doc: Add proper requires to Scribble files. 2020-11-29 22:16:23 +01:00
Sergiu Ivanov
157c226259 rs.scrbl: Add module-level definitions. 2020-11-29 22:12:01 +01:00
Sergiu Ivanov
532f7b180e networks.scrbl: Add an explicit tag to Basic definitions.
Otherwise there is a conflict with a section with the same name in
rs.scrbl.
2020-11-29 22:11:03 +01:00
Sergiu Ivanov
d95891537b doc: Add module-level comments for networks. 2020-11-29 22:01:18 +01:00
Sergiu Ivanov
96f8782d7b doc: Add module-level comments for functions. 2020-11-29 21:45:33 +01:00
Sergiu Ivanov
d014209a98 doc: Add module-level comments for utils. 2020-11-29 21:41:00 +01:00
Sergiu Ivanov
af6bb09f53 docs: Add the introduction to dds. 2020-11-29 20:59:16 +01:00
Sergiu Ivanov
e2788be237 Add the Scribble files for almost all modules.
The generics module will probably disappear or take a different shape
in the near future.
2020-11-29 17:43:20 +01:00
Sergiu Ivanov
8487b64287 Rename manual → dds. 2020-11-29 17:15:24 +01:00
Sergiu Ivanov
596e1b7b5d Prepare for writing the documentation. 2020-11-29 00:28:46 +01:00
Sergiu Ivanov
12cc862c94 Start the documentation. 2020-11-29 00:02:06 +01:00