From 47e4ab0cf1b7d364439a1a47df53f2d58a216239 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Fri, 3 Dec 2021 04:37:14 +0100 Subject: Helper to build application events --- editor/actions/import.ml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'editor/actions/import.ml') diff --git a/editor/actions/import.ml b/editor/actions/import.ml index c847ed3..da74b50 100755 --- a/editor/actions/import.ml +++ b/editor/actions/import.ml @@ -54,7 +54,5 @@ let create () = in Note.E.map - (fun v -> App.E - ( v - , (module M : App.Event with type t = M.t ))) + (fun v -> App.ev (module M) v) (Note.E.Option.on_some ev) -- cgit v1.2.3