git.iko.soy/typeable/servant
on master help sign in
Further cleanup
commitdfc49dd0a05ad5383b8e4d96d47f416ae1ba5b08 authorJulian K. Arni <jkarni@gmail.com> dateWed 23 Sep 2015, 19:05 (11 years ago) parent9650631
7 files changed+3−8
servant-examples/auth-combinator/auth-combinator.hs−1 servant-examples/hackage/hackage.hs−1 servant-examples/servant-examples.cabal+3−1 servant-examples/tutorial/T3.hs−1 servant-examples/tutorial/T8.hs−1 servant-examples/tutorial/T9.hs−1 stack.yaml−2
servant-examples/auth-combinator/auth-combinator.hs−1
@@ -5,7 +5,6 @@
55{-# LANGUAGE ScopedTypeVariables #-}
66{-# LANGUAGE TypeFamilies #-}
77{-# LANGUAGE TypeOperators #-}
8−{-# OPTIONS_GHC -fno-warn-unused-binds #-}
98import Data.Aeson
109import Data.ByteString (ByteString)
1110import Data.Text (Text)
servant-examples/hackage/hackage.hs−1
@@ -2,7 +2,6 @@
22{-# LANGUAGE DeriveGeneric #-}
33{-# LANGUAGE OverloadedStrings #-}
44{-# LANGUAGE TypeOperators #-}
5−{-# OPTIONS_GHC -fno-warn-unused-binds #-}
65{-# OPTIONS_GHC -fno-warn-unused-imports #-}
76import Control.Applicative
87import Control.Monad
servant-examples/servant-examples.cabal+3−1
@@ -20,7 +20,7 @@ source-repository head
2020executable tutorial
2121 main-is: tutorial.hs
2222 other-modules: T1, T2, T3, T4, T5, T6, T7, T8, T9, T10
23− ghc-options: -Wall -fno-warn-unused-binds -fno-warn-name-shadowing
23+ ghc-options: -Wall -fno-warn-unused-binds -fno-warn-name-shadowing -fno-warn-orphans -fno-warn-unused-imports
2424 build-depends:
2525 aeson >= 0.8
2626 , base >= 4.7 && < 5
@@ -89,6 +89,7 @@ executable wai-middleware
8989
9090executable auth-combinator
9191 main-is: auth-combinator.hs
92+ ghc-options: -Wall -fno-warn-unused-binds -fno-warn-name-shadowing
9293 build-depends:
9394 aeson >= 0.8
9495 , base >= 4.7 && < 5
@@ -104,6 +105,7 @@ executable auth-combinator
104105
105106executable socket-io-chat
106107 main-is: socket-io-chat.hs
108+ ghc-options: -Wall -fno-warn-unused-binds -fno-warn-name-shadowing
107109 other-modules: Chat
108110 build-depends:
109111 aeson >= 0.8
servant-examples/tutorial/T3.hs−1
@@ -2,7 +2,6 @@
22{-# LANGUAGE DeriveGeneric #-}
33{-# LANGUAGE TypeFamilies #-}
44{-# LANGUAGE TypeOperators #-}
5−{-# OPTIONS_GHC -fno-warn-unused-binds #-}
65module T3 where
76
87import Control.Monad.Trans.Except
servant-examples/tutorial/T8.hs−1
@@ -4,7 +4,6 @@
44module T8 where
55
66import Control.Monad.Trans.Except
7−import Data.Aeson
87import Servant
98import Servant.Client
109
servant-examples/tutorial/T9.hs−1
@@ -13,7 +13,6 @@ import GHC.Generics
1313import Network.Wai
1414import Servant
1515import Servant.JS
16−import Servant.JS.JQuery
1716import System.Random
1817
1918import qualified Data.Text as T
stack.yaml−2
@@ -1,8 +1,6 @@
11flags:
22 servant-js:
33 example: false
4−ghc-options:
5− "*": -Wall
64packages:
75- servant/
86- servant-blaze/