summaryrefslogtreecommitdiff
path: root/editor/actions/event.ml
diff options
context:
space:
mode:
Diffstat (limited to 'editor/actions/event.ml')
-rwxr-xr-xeditor/actions/event.ml8
1 files changed, 8 insertions, 0 deletions
diff --git a/editor/actions/event.ml b/editor/actions/event.ml
new file mode 100755
index 0000000..5e30587
--- /dev/null
+++ b/editor/actions/event.ml
@@ -0,0 +1,8 @@
+module type Handler = sig
+ type t
+
+ val apply: t -> State.t -> State.t
+
+end
+
+type t = E : 'a * (module Handler with type t = 'a) -> t