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

8 lines
162 B
Standard ML

structure AppUpdate =
struct
open AppType
fun update (app, msg, time) =
case #mode app of NORMAL_MODE str => NormalMode.update (app, str, msg, time)
end