Commit graph

70 commits

Author SHA1 Message Date
bc91d9bf39 lotta progress 2025-03-23 13:25:47 +01:00
29d20b2273 wip 2025-03-23 09:15:37 +01:00
afd78c3b3e progress 2025-03-22 10:33:35 +01:00
33c156fc5c type inferencing "unifying" operation is now bi-directional + begin writing generic version of "unifying" operation (that should work on all types) 2025-03-20 19:59:24 +01:00
c5ac55b0ff progress with type classes, type inference still very ad-hoc 2025-03-20 18:34:58 +01:00
5283be608b refactor code: move everything from type_registry to "most appropriate" modules 2025-03-20 18:12:30 +01:00
4ca60784aa greatly simplify type registry 2025-03-20 17:29:13 +01:00
303fa869a8 ... got it wrong 2025-03-20 14:14:28 +01:00
9405ba1b4e add String type + use String to make nominal types unique (worse, but more pleasant when debugging) 2025-03-20 14:09:17 +01:00
18b5e56ff0 add nominal types for 2D points 2025-03-20 12:07:31 +01:00
94efde3e65 add interactive prompt 2025-03-20 09:54:11 +01:00
ce192b49f2 move file 2025-03-19 16:13:10 +01:00
fc1a588e23 clean up module generic a bit 2025-03-19 16:01:59 +01:00
a826f475c3 preliminary implementation of polymorphic types and type inferencing 2025-03-19 15:45:13 +01:00
e892ade34d rename function 2025-03-19 15:43:45 +01:00
97b4e83379 add serializable iface 2025-03-17 20:33:26 +01:00
3d08485a08 list of byte encoded as JS Uint8Array + demo more readable 2025-03-17 20:14:57 +01:00
574651ccb7 Add product and sum types 2025-03-17 17:54:42 +01:00
6023efc295 use fnType everywhere to create function types 2025-03-14 17:05:04 +01:00
a8260f2afb basic functionality, no generics 2025-03-14 16:56:37 +01:00