a bit of refactoring to allow addition of more tests

This commit is contained in:
2025-03-22 05:18:25 +00:00
parent deb24c2063
commit 649bcb66e1
9 changed files with 2912 additions and 2709 deletions

View File

@@ -1,15 +1,7 @@
signature INPUT_MSG =
sig
datatype t =
CHAR_EVENT of char
| KEY_ESC
| RESIZE_EVENT of int * int
datatype t = CHAR_EVENT of char | KEY_ESC | RESIZE_EVENT of int * int
end
structure InputMsg :> INPUT_MSG =
struct
datatype t =
CHAR_EVENT of char
| KEY_ESC
| RESIZE_EVENT of int * int
end
structure InputMsg :> INPUT_MSG =
struct datatype t = CHAR_EVENT of char | KEY_ESC | RESIZE_EVENT of int * int end

View File

@@ -1,11 +1,7 @@
signature MAILBOX_TYPE =
sig
datatype t =
DRAW of DrawMsg.t
datatype t = DRAW of DrawMsg.t
end
structure MailboxType :> MAILBOX_TYPE =
struct
datatype t =
DRAW of DrawMsg.t
end
struct datatype t = DRAW of DrawMsg.t end