remove some opaque signature ascriptions

This commit is contained in:
2025-04-22 20:49:56 +01:00
parent e59a1c67d8
commit aa068ea48e
3 changed files with 3 additions and 23 deletions

View File

@@ -1,13 +1,4 @@
signature DRAW_MSG = structure DrawMsg =
sig
datatype t =
REDRAW_TEXT of Real32.real vector
| REDRAW_CURSOR of Real32.real vector
| REDRAW_BG of Real32.real vector
| YANK of string
end
structure DrawMsg :> DRAW_MSG =
struct struct
datatype t = datatype t =
REDRAW_TEXT of Real32.real vector REDRAW_TEXT of Real32.real vector

View File

@@ -1,7 +1,2 @@
signature INPUT_MSG = structure InputMsg =
sig
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 struct datatype t = CHAR_EVENT of char | KEY_ESC | RESIZE_EVENT of int * int end

View File

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