Files
sml-projects/fcore/app-update.sml

10 lines
256 B
Standard ML
Raw Normal View History

2024-10-06 09:32:56 +01:00
structure AppUpdate =
struct
open AppType
fun update (app: app_type, msg, time) =
case #mode app of
NORMAL_MODE str => NormalMode.update (app, str, msg, time)
| NORMAL_SEARCH_MODE str => NormalSearchMode.update (app, str, msg, time)
2024-10-06 09:32:56 +01:00
end