Add encapsulation, sum types, type constraints and all the required machinery. Also -> threading macro #64

Merged
pkulev merged 40 commits from static-dispatch into main 2026-10-19 17:07:45 +02:00
Showing only changes of commit db5507b180 - Show all commits

View File

@@ -12,7 +12,8 @@
(record point ((x int) (y int)))
(record named "Fields of more than one kind, and a docstring."
(record named

Maybe that would be better, dunno.

(record named 
  "Fields of more than one kind, and a docstring."
  ((id int) (first-name (* const char))))
Maybe that would be better, dunno. ```scheme (record named "Fields of more than one kind, and a docstring." ((id int) (first-name (* const char)))) ```
"Fields of more than one kind, and a docstring."
((id int) (first-name (* const char))))
(struct raw ((a int) (b int)))