Commit graph

638 commits

Author SHA1 Message Date
Sergiu Ivanov
b97bbfd972 Type network-form. 2022-05-02 00:27:55 +02:00
Sergiu Ivanov
84134340e5 Typos. 2022-05-02 00:22:47 +02:00
Sergiu Ivanov
901720d2f5 Add UpdateFunctionForm. 2022-05-02 00:16:16 +02:00
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
aea472acb2 Remove make-state and make-state-booleanize.
make-state is just a longer word for hash, and I never really use
make-state-booleanize.
2022-05-01 00:55:42 +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
cdcee66b7c Explain the new strategy for converting generics to Typed Racket. 2022-04-26 23:56:22 +02:00
Sergiu Ivanov
ba8b9b4d98 Punctuation. 2022-04-26 23:56:17 +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
70caf3bb7e functions: cast → assert-type. 2022-04-24 14:38:49 +02:00
Sergiu Ivanov
64daec5065 Add and use assert-type in utils. 2022-04-24 14:34:57 +02:00
Sergiu Ivanov
2e8373d037 utils: Replace all casts with asserts.
https://racket.discourse.group/t/managing-cast-performance-penalty/905
2022-04-24 14:09:04 +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
0196ab5800 Let Emacs align apply-tbf as it wants. 2022-04-22 15:38:20 +02:00
Sergiu Ivanov
47f7f70241 Add tabulate*/list tabulate/list. 2022-04-22 15:12:41 +02:00
Sergiu Ivanov
cf49a6f087 Add apply-op as a parameter to make-tabulate*. 2022-04-22 14:39:57 +02:00
Sergiu Ivanov
d958c5822d define-syntax-parse-rule: Give the syntax class for row-op. 2022-04-22 14:35:38 +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
dc8a098234 Correctly export tbf-w and tbf-θ. 2022-04-21 14:02:35 +02:00