From 6639625c1e24e764692ec9d65939ff9ef50d76df Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Mon, 7 Feb 2022 13:43:47 +0100 Subject: Rename application functions --- editor/app/editor_app.mli | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'editor/app/editor_app.mli') diff --git a/editor/app/editor_app.mli b/editor/app/editor_app.mli index dade546..aaa4d65 100644 --- a/editor/app/editor_app.mli +++ b/editor/app/editor_app.mli @@ -2,7 +2,7 @@ module type Event = sig type t - val update: t -> State.t -> State.t + val process: t -> State.t -> State.t end @@ -12,5 +12,6 @@ type event = E : 'a * (module Event with type t = 'a) -> event val run : ?eq:(State.t -> State.t -> bool) -> State.t -> event Note.E.t -> State.t Note.S.t -val ev +val dispatch : (module Event with type t = 's) -> 's -> event + -- cgit v1.2.3