aboutsummaryrefslogtreecommitdiff
path: root/lib/s.ml
diff options
context:
space:
mode:
authorAdelyn Breelove <[email protected]>2018-12-13 15:50:37 -0700
committerAdelyn Breelove <[email protected]>2018-12-13 15:50:37 -0700
commit179d9598fe62e2966471b312fd438e98ff3a272a (patch)
treecbe69315ccd51dc69912a39fee30dfa767fa491e /lib/s.ml
parentWorking on deriving types from json (diff)
downloaddisml-179d9598fe62e2966471b312fd438e98ff3a272a.tar.xz
disml-179d9598fe62e2966471b312fd438e98ff3a272a.zip
Fix more dispatch issues
Diffstat (limited to 'lib/s.ml')
-rw-r--r--lib/s.ml6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/s.ml b/lib/s.ml
index 9ac86ad..32347cb 100644
--- a/lib/s.ml
+++ b/lib/s.ml
@@ -4,10 +4,6 @@ module type Token = sig
val token : string
end
-module type Client = sig
- type context
-end
-
module type Handler = sig
val handle_event :
'a ->
@@ -56,7 +52,7 @@ module type Dispatch = sig
exception Invalid_event of string
val event_of_string : contents:string -> string -> dispatch_event
- val dispatch : ev:string -> string -> unit
+ val dispatch : ev: -> string -> unit
end
module type Http = sig