fix all remaining type errors

This commit is contained in:
2025-09-29 15:06:33 +01:00
parent fd321c2f14
commit 665497cf46
4 changed files with 7 additions and 8 deletions

View File

@@ -7,7 +7,7 @@ struct
fun switchToNormalSearchMode (app: app_type) = fun switchToNormalSearchMode (app: app_type) =
NormalSearchFinish.onSearchChanged NormalSearchFinish.onSearchChanged
(app, "", Vector.fromList [], 0, 0, #buffer app) (app, "", PersistentVector.empty, 0, 0, #buffer app)
fun getNumLength (pos, str) = fun getNumLength (pos, str) =
if pos = String.size str then if pos = String.size str then

View File

@@ -81,7 +81,6 @@ struct
, windowWidth , windowWidth
, windowHeight , windowHeight
, tempSearchList , tempSearchList
, searchString
, visualScrollColumn , visualScrollColumn
) )
val drawMsg = Vector.concat drawMsg val drawMsg = Vector.concat drawMsg

View File

@@ -6,7 +6,7 @@ struct
| KEY_ENTER | KEY_ENTER
| KEY_BACKSPACE | KEY_BACKSPACE
| RESIZE_EVENT of int * int | RESIZE_EVENT of int * int
| WITH_SEARCH_LIST of int vector * Time.time | WITH_SEARCH_LIST of PersistentVector.t * Time.time
| ARROW_LEFT | ARROW_LEFT
| ARROW_UP | ARROW_UP
| ARROW_RIGHT | ARROW_RIGHT

10
shf.mlb
View File

@@ -6,11 +6,6 @@ lib/brolib-sml/src/gap_set.sml
lib/cozette-sml/fonts-with-z-index/cozette-ascii.mlb lib/cozette-sml/fonts-with-z-index/cozette-ascii.mlb
(* FUNCTIONAL CORE *) (* FUNCTIONAL CORE *)
message-types/input-msg.sml
message-types/draw-msg.sml
message-types/search-msg.sml
message-types/mailbox-type.sml
fcore/escape-string.sml fcore/escape-string.sml
fcore/bin-search.sml fcore/bin-search.sml
@@ -22,6 +17,11 @@ end
fcore/search-list/nfa.sml fcore/search-list/nfa.sml
fcore/search-list.sml fcore/search-list.sml
message-types/input-msg.sml
message-types/draw-msg.sml
message-types/search-msg.sml
message-types/mailbox-type.sml
fcore/app-type.sml fcore/app-type.sml
fcore/normal-mode/normal-mode-with.sml fcore/normal-mode/normal-mode-with.sml
fcore/normal-mode/normal-search-mode-with.sml fcore/normal-mode/normal-search-mode-with.sml