packages feed

Cabal revisions of envparse-0.1.0

Hackage metadata revisions edit the .cabal file after upload; each diff below is one revision.

revision 1
-name:                envparse-version:             0.1.0-synopsis:            Parse environment variables-description:-  Here's a simple example-  .-  @-  module Main (main) where-  .-  import Control.Monad (unless)-  import Env-  .-  data Hello = Hello &#x7b; name :: String, quiet :: Bool &#x7d;-  .-  hello :: IO Hello-  hello = Env.parse (header \"envparse example\") $-  &#x20; Hello \<$\> var (str <=< nonempty) \"NAME\"  (help \"Target for the greeting\")-  &#x20;       \<*\> switch                 \"QUIET\" (help \"Whether to actually print the greeting\")-  &#x20;-  main :: IO ()-  main = do-  &#x20; Hello &#x7b; name, quiet &#x7d; <- hello-  &#x20; unless quiet $-  &#x20;   putStrLn (\"Hello, \" ++ name ++ \"!\")-  @-homepage:            http://example.com/-license:             BSD2-license-file:        LICENSE-author:              Matvey Aksenov-maintainer:          matvey.aksenov@gmail.com-copyright:           2014 Matvey Aksenov-category:            System-build-type:          Simple-cabal-version:       >= 1.10-extra-source-files:-  README.markdown-  example/Main.hs--source-repository head-  type:     git-  location: https://github.com/supki/envparse--library-  default-language:-    Haskell2010-  build-depends:-      base       >= 4.6 && < 5-    , containers-  hs-source-dirs:-    src-  exposed-modules:-    Env-  other-modules:-    Env.Free-    Env.Help-    Env.Parse-    Env.Val-  ghc-options:-    -Wall--test-suite spec-  default-language:-    Haskell2010-  type:-    exitcode-stdio-1.0-  build-depends:-      base       >= 4.6 && < 5-    , containers-    , hspec-  hs-source-dirs:-    src-    test-  main-is:-    Spec.hs+name:                envparse
+version:             0.1.0
+x-revision: 1
+synopsis:            Parse environment variables
+description:
+  Here's a simple example
+  .
+  @
+  module Main (main) where
+  .
+  import Control.Monad (unless)
+  import Env
+  .
+  data Hello = Hello &#x7b; name :: String, quiet :: Bool &#x7d;
+  .
+  hello :: IO Hello
+  hello = Env.parse (header \"envparse example\") $
+  &#x20; Hello \<$\> var (str <=< nonempty) \"NAME\"  (help \"Target for the greeting\")
+  &#x20;       \<*\> switch                 \"QUIET\" (help \"Whether to actually print the greeting\")
+  &#x20;
+  main :: IO ()
+  main = do
+  &#x20; Hello &#x7b; name, quiet &#x7d; <- hello
+  &#x20; unless quiet $
+  &#x20;   putStrLn (\"Hello, \" ++ name ++ \"!\")
+  @
+homepage:            http://example.com/
+license:             BSD2
+license-file:        LICENSE
+author:              Matvey Aksenov
+maintainer:          matvey.aksenov@gmail.com
+copyright:           2014 Matvey Aksenov
+category:            System
+build-type:          Simple
+cabal-version:       >= 1.10
+extra-source-files:
+  README.markdown
+  example/Main.hs
+
+source-repository head
+  type:     git
+  location: https://github.com/supki/envparse
+
+library
+  default-language:
+    Haskell2010
+  build-depends:
+      base       >= 4.6 && < 4.11
+    , containers
+  hs-source-dirs:
+    src
+  exposed-modules:
+    Env
+  other-modules:
+    Env.Free
+    Env.Help
+    Env.Parse
+    Env.Val
+  ghc-options:
+    -Wall
+
+test-suite spec
+  default-language:
+    Haskell2010
+  type:
+    exitcode-stdio-1.0
+  build-depends:
+      base       >= 4.6 && < 5
+    , containers
+    , hspec
+  hs-source-dirs:
+    src
+    test
+  main-is:
+    Spec.hs