remove some opaque signature ascriptions
This commit is contained in:
@@ -1,13 +1,4 @@
|
||||
signature DRAW_MSG =
|
||||
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 =
|
||||
structure DrawMsg =
|
||||
struct
|
||||
datatype t =
|
||||
REDRAW_TEXT of Real32.real vector
|
||||
|
||||
@@ -1,7 +1,2 @@
|
||||
signature INPUT_MSG =
|
||||
sig
|
||||
datatype t = CHAR_EVENT of char | KEY_ESC | RESIZE_EVENT of int * int
|
||||
end
|
||||
|
||||
structure InputMsg :> INPUT_MSG =
|
||||
structure InputMsg =
|
||||
struct datatype t = CHAR_EVENT of char | KEY_ESC | RESIZE_EVENT of int * int end
|
||||
|
||||
@@ -1,7 +1 @@
|
||||
signature MAILBOX_TYPE =
|
||||
sig
|
||||
datatype t = DRAW of DrawMsg.t
|
||||
end
|
||||
|
||||
structure MailboxType :> MAILBOX_TYPE =
|
||||
struct datatype t = DRAW of DrawMsg.t end
|
||||
structure MailboxType = struct datatype t = DRAW of DrawMsg.t end
|
||||
|
||||
Reference in New Issue
Block a user