Commit graph

609 commits

Author SHA1 Message Date
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
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
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