Add 'dotscape/' from commit 'f306501a68a51b634e895c5fdac70788ae899d75'
git-subtree-dir: dotscape git-subtree-mainline:6b91d64fc3git-subtree-split:f306501a68
This commit is contained in:
9
dotscape/fcore/app-update.sml
Normal file
9
dotscape/fcore/app-update.sml
Normal file
@@ -0,0 +1,9 @@
|
||||
structure AppUpdate =
|
||||
struct
|
||||
open AppType
|
||||
|
||||
fun update (model: app_type, inputMsg) =
|
||||
case #mode model of
|
||||
NORMAL_MODE => NormalMode.update (model, inputMsg)
|
||||
| MOVE_MODE => MoveMode.update (model, inputMsg)
|
||||
end
|
||||
Reference in New Issue
Block a user