Commit graph

675 commits

Author SHA1 Message Date
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
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
ee487af157 Fix parens typesetting. 2022-04-21 11:13:58 +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