From 96abac7ef2ebbc316a12f096dcd135416f7d3a72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Vion?= Date: Wed, 13 Apr 2016 15:41:28 +0200 Subject: [PATCH 1/2] remove duplicated HeaderArg export it is also 2 lines below --- servant-js/src/Servant/JS/Internal.hs | 1 - 1 file changed, 1 deletion(-) diff --git a/servant-js/src/Servant/JS/Internal.hs b/servant-js/src/Servant/JS/Internal.hs index 3c817e1e..d123ef9a 100644 --- a/servant-js/src/Servant/JS/Internal.hs +++ b/servant-js/src/Servant/JS/Internal.hs @@ -23,7 +23,6 @@ module Servant.JS.Internal , HasForeignType(..) , GenerateList(..) , NoTypes - , HeaderArg , ArgType(..) , HeaderArg(..) , QueryArg(..) From c3bb14fb26dd1ded6f06d89e09fe0f31f5aaa0ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Vion?= Date: Wed, 13 Apr 2016 15:41:51 +0200 Subject: [PATCH 2/2] remove redundant import to remove warnings --- servant-js/src/Servant/JS.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servant-js/src/Servant/JS.hs b/servant-js/src/Servant/JS.hs index 4afb38db..3494ca69 100644 --- a/servant-js/src/Servant/JS.hs +++ b/servant-js/src/Servant/JS.hs @@ -123,7 +123,7 @@ import Servant.JS.Axios import Servant.JS.Internal import Servant.JS.JQuery import Servant.JS.Vanilla -import Servant.Foreign (GenerateList(..), listFromAPI, NoTypes) +import Servant.Foreign (listFromAPI) -- | Generate the data necessary to generate javascript code -- for all the endpoints of an API, as ':<|>'-separated values