Generic mutation scheduling system

IO adapted to use it
Also, Atoms can now dispatch type-erased requests
This commit is contained in:
2023-09-14 22:54:42 +01:00
parent 8c866967a9
commit 3c0056c2db
51 changed files with 991 additions and 379 deletions

View File

@@ -7,10 +7,10 @@ export const print := \text.\ok. (
(io::flush io::stdout
ok
(\e. panic "println threw on flush")
yield
\_. yield
)
(\e. panic "print threw on write")
yield
\_. yield
)
export const println := \line.\ok. (
@@ -21,7 +21,7 @@ export const readln := \ok. (
io::read_line io::stdin
ok
(\e. panic "readln threw")
yield
\_. yield
)
export module prelude (