canteven-listen-http 0.1.0.0 → 1.0.0.1
raw patch · 2 files changed
+4/−5 lines, 2 filesdep ~aesondep ~basenew-uploader
Dependency ranges changed: aeson, base
Files
canteven-listen-http.cabal view
@@ -1,5 +1,5 @@ name: canteven-listen-http-version: 0.1.0.0+version: 1.0.0.1 synopsis: data types to describe HTTP services description: A few datatypes useful for describing what ports an HTTP service listens on.@@ -22,7 +22,7 @@ -- other-modules: other-extensions: DeriveGeneric, NamedFieldPuns, OverloadedStrings build-depends:- base >=4.7 && <4.8,- aeson >= 0.8.0.0 && <0.11+ aeson >= 0.11 && <0.12,+ base >= 4.8 && < 4.10 hs-source-dirs: src default-language: Haskell2010
src/Canteven/Listen/HTTP.hs view
@@ -10,11 +10,10 @@ ) where import Data.Aeson (FromJSON(parseJSON), withObject, (.:))-import Data.Functor ((<$>)) import GHC.Generics (Generic) -- | Toplevel type to parse listeners out of a config file.-data ListenHTTPConfig =+newtype ListenHTTPConfig = ListenHTTPConfig { listeners :: [ListenerConfig] } deriving (Generic)