From 90565c7f5f23ae291626f9a5606e8d4f6d5c3a2e Mon Sep 17 00:00:00 2001 From: Greg Hale Date: Fri, 30 Dec 2016 12:51:26 -0500 Subject: [PATCH] add forgotten file --- src/Servant/EventAPI.hs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Servant/EventAPI.hs b/src/Servant/EventAPI.hs index 3b45641..b71cb78 100644 --- a/src/Servant/EventAPI.hs +++ b/src/Servant/EventAPI.hs @@ -79,11 +79,12 @@ class HasPointClient layout where type ToXhr layout :: * type FromXhr layout :: * type PointClient layout to from :: * - pointClientWithRoute + pointInputWithRoute :: Proxy layout -> PointReq -> BaseUrl - -> PointClient layout (ToXhr layout) (FromXhr layout) + -> ToXhr + pointDecodeWithRoute -- -> PointClient layout -- -> (to -> XhrRequest Text, XhrResponse -> Maybe from)