Commit graph

116 commits

Author SHA1 Message Date
3d72f4d416 get rid of some stuff 2025-05-23 14:45:35 +02:00
2333abe70f cleanup unification a bit 2025-05-23 14:35:07 +02:00
68bd7cdb9f wrote new unify-function that always returns minimal set of substitutions 2025-05-23 14:04:56 +02:00
47786ae792 fixpoint algorithm: parameterize the Map to use 2025-05-22 14:31:26 +02:00
ea878975be add algorithm for fixpoint calculation 2025-05-21 22:31:35 +02:00
8cfbd6116f add export 2025-05-19 19:39:37 +02:00
4fcfea409a fix bug in radix trie 2025-05-19 17:02:20 +02:00
70fb80a9fc export even more stuff 2025-05-19 15:10:07 +02:00
1fe4085844 export a bit more 2025-05-19 13:50:03 +02:00
0896dfae4e update index 2025-05-19 13:46:28 +02:00
870ce51a97 update index 2025-05-19 13:31:39 +02:00
28909d88b9 rename function + update index 2025-05-19 13:23:36 +02:00
c1da60b71c remove 'prompt' example (the webapp demo is better in every way) 2025-05-19 13:20:25 +02:00
dfe03eab6e rewrite, simply and "power-up" unification 2025-05-19 13:18:58 +02:00
d3515d39a5 tweak a bit 2025-05-18 10:21:07 +02:00
248d8ddef1 when assigning parameter to function, the returned typevar substitutions must take into account any typevar recomputations 2025-05-18 09:58:11 +02:00
8266e59b94 export __unify 2025-05-18 09:38:30 +02:00
0096bb5559 allow comparison of type variable instances 2025-05-16 14:07:36 +02:00
8446f9ba9e forgot to add new function to index.d.ts 2025-05-16 13:04:06 +02:00
106bd0bfdb add function 2025-05-16 10:16:21 +02:00
d75bf9f0f2 fix type of exported errors 2025-05-15 17:19:25 +02:00
443a13998d forgot 'new' 2025-05-13 17:50:23 +02:00
1e10393e76 add extra check and error type 2025-05-13 17:04:19 +02:00
e631f11aa5 set all return types to 'any' (many of them were wrongly detected) 2025-05-13 14:18:14 +02:00
1a55c52782 fix module types 2025-05-13 14:11:41 +02:00
135bfc7351 add type definitions (auto-generated) 2025-05-13 14:08:44 +02:00
a9e21d7d94 forgot something 2025-05-12 11:03:17 +02:00
cb45d88e17 correct type of emptyDict and emptySet 2025-05-12 10:44:02 +02:00
d531c48a92 change index 2025-05-11 09:33:34 +02:00
dadee965e5 trie: add get function 2025-05-11 09:30:48 +02:00
dd35e2b577 fix 2025-05-11 00:30:03 +02:00
29c7b6af61 fix bug in trie 2025-05-10 23:04:13 +02:00
3b8548e9af fix bug in trie 2025-05-10 20:53:36 +02:00
fe6e86e1a4 fix bug in trie 2025-05-10 20:28:40 +02:00
075cc1244f fix Trie.suggest (for real this time?) 2025-05-10 19:51:00 +02:00
660512cc19 fix bug in Trie.suggest? 2025-05-10 19:37:38 +02:00
a166ebb0d7 change behavior of trie-suggest 2025-05-10 15:49:59 +02:00
1fa47d4abd rename function 2025-05-10 14:45:50 +02:00
d363d73dbd fix imports 2025-05-10 12:36:06 +02:00
be856bffad remove unused import 2025-05-10 12:31:51 +02:00
3ac945f993 bump version to make dependents also no longer dependent on removed dependency?? 2025-05-10 12:30:05 +02:00
c91bcd979c remove dependency 2025-05-10 12:25:35 +02:00
b68092d058 create index.js 2025-05-10 12:08:43 +02:00
9c79d13b1f use performance.now() instead of Date.now() in benchmark 2025-05-10 11:13:47 +02:00
a839d69c0e add radix tree benchmark 2025-05-10 10:45:27 +02:00
fe978c5b41 environment includes mapping name -> instance 2025-05-10 10:00:44 +02:00
1780920438 (broken) use lowercase names for symbols 2025-05-10 09:19:40 +02:00
639d70afa5 (broken) modules are mappings from name to typed value 2025-05-10 09:14:58 +02:00
c27c7d3648 add purely functional Trie 2025-05-10 02:03:41 +02:00
c3dc16b328 give package a name 2025-05-09 21:09:22 +02:00