packages feed

Cabal revisions of apiary-0.4.3.1

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

revision 1
-name:                apiary-version:             0.4.3.1-x-revision:          1-synopsis:            Simple web framework inspired by scotty.-description:-  Simple web framework inspired by scotty.-  .-  @-  &#123;-&#35; LANGUAGE QuasiQuotes &#35;-&#125;-  &#123;-&#35; LANGUAGE OverloadedStrings &#35;-&#125;-  .-  import Web.Apiary-  import Network.Wai.Handler.Warp-  import qualified Data.ByteString.Lazy.Char8 as L-  .-  main :: IO ()-  main = run 3000 . runApiary def $ do-  &#32;&#32;[capture|/:Int|] . queryFirst' &#34;name&#34; . stdMethod GET . action $ \\age name -> do-  &#32;&#32;&#32;&#32;&#32;&#32;guard (age >= 18)-  &#32;&#32;&#32;&#32;&#32;&#32;contentType &#34;text/html&#34;-  &#32;&#32;&#32;&#32;&#32;&#32;lbs . L.concat $ [&#34;&#60;h1&#62;Hello, &#34;, L.fromStrict name, &#34;!&#60;/h1&#62;&#34;]-  @-  .-    * Nestable route handling(ApiaryT Monad; capture, stdMethod and more.).-  .-    * type safe route filter.-  .-  full example & tutorial: <https://github.com/philopon/apiary/blob/master/examples/main.lhs>--license:             MIT-license-file:        LICENSE-author:              HirotomoMoriwaki<philopon.dependence@gmail.com>-maintainer:          HirotomoMoriwaki<philopon.dependence@gmail.com>-Homepage:            https://github.com/philopon/apiary-Bug-reports:         https://github.com/philopon/apiary/issues-copyright:           (c) 2014 Hirotomo Moriwaki-category:            Web-build-type:          Simple-stability:           experimental--- extra-source-files:  -cabal-version:       >=1.10--library-  exposed-modules:     Web.Apiary-                       Web.Apiary.TH--                       Control.Monad.Apiary-                       Control.Monad.Apiary.Filter-                       Control.Monad.Apiary.Filter.Capture-                       Control.Monad.Apiary.Action--                       Data.Apiary.SList-                       Data.Apiary.Param--  other-modules:       Web.Apiary.TH.Internal-                       Control.Monad.Apiary.Internal-                       Control.Monad.Apiary.Action.Internal-  other-extensions:    KindSignatures-                     , DataKinds-                     , TypeOperators-                     , GADTs-                     , TypeFamilies--                     , Rank2Types-                       -  build-depends:       base              >=4.5 && <4.8-                     , template-haskell  >=2.7 && <2.10-                     , transformers      >=0.3 && <0.5-                     , mtl               >=2.1 && <2.3-                     , monad-control     >=0.3 && <0.4-                     , transformers-base >=0.4 && <0.5--                     , text               >=1.1 && <1.2-                     , bytestring         >=0.10 && <0.11-                     , blaze-builder      >=0.3 && <0.4-                     , conduit            >=1.1 && <1.2-                     , monad-logger       >=0.3 && <0.4-                     , data-default-class >=0.0 && <0.1--                     , http-types        >=0.8 && <0.9-                     , mime-types        >=0.1 && <0.2-                     , wai               >=2.1 && <2.2-                     , warp              >=2.1 && <2.2--  hs-source-dirs:      src-  ghc-options:         -O2 -Wall-  default-language:    Haskell2010--source-repository head-  type:     git-  location: git://github.com/philopon/apiary.git+name:                apiary
+version:             0.4.3.1
+x-revision: 2
+synopsis:            Simple web framework inspired by scotty.
+description:
+  Simple web framework inspired by scotty.
+  .
+  @
+  &#123;-&#35; LANGUAGE QuasiQuotes &#35;-&#125;
+  &#123;-&#35; LANGUAGE OverloadedStrings &#35;-&#125;
+  .
+  import Web.Apiary
+  import Network.Wai.Handler.Warp
+  import qualified Data.ByteString.Lazy.Char8 as L
+  .
+  main :: IO ()
+  main = run 3000 . runApiary def $ do
+  &#32;&#32;[capture|/:Int|] . queryFirst' &#34;name&#34; . stdMethod GET . action $ \\age name -> do
+  &#32;&#32;&#32;&#32;&#32;&#32;guard (age >= 18)
+  &#32;&#32;&#32;&#32;&#32;&#32;contentType &#34;text/html&#34;
+  &#32;&#32;&#32;&#32;&#32;&#32;lbs . L.concat $ [&#34;&#60;h1&#62;Hello, &#34;, L.fromStrict name, &#34;!&#60;/h1&#62;&#34;]
+  @
+  .
+    * Nestable route handling(ApiaryT Monad; capture, stdMethod and more.).
+  .
+    * type safe route filter.
+  .
+  full example & tutorial: <https://github.com/philopon/apiary/blob/master/examples/main.lhs>
+
+license:             MIT
+license-file:        LICENSE
+author:              HirotomoMoriwaki<philopon.dependence@gmail.com>
+maintainer:          HirotomoMoriwaki<philopon.dependence@gmail.com>
+Homepage:            https://github.com/philopon/apiary
+Bug-reports:         https://github.com/philopon/apiary/issues
+copyright:           (c) 2014 Hirotomo Moriwaki
+category:            Web
+build-type:          Simple
+stability:           experimental
+-- extra-source-files:  
+cabal-version:       >=1.10
+
+library
+  exposed-modules:     Web.Apiary
+                       Web.Apiary.TH
+
+                       Control.Monad.Apiary
+                       Control.Monad.Apiary.Filter
+                       Control.Monad.Apiary.Filter.Capture
+                       Control.Monad.Apiary.Action
+
+                       Data.Apiary.SList
+                       Data.Apiary.Param
+
+  other-modules:       Web.Apiary.TH.Internal
+                       Control.Monad.Apiary.Internal
+                       Control.Monad.Apiary.Action.Internal
+  other-extensions:    KindSignatures
+                     , DataKinds
+                     , TypeOperators
+                     , GADTs
+                     , TypeFamilies
+
+                     , Rank2Types
+                       
+  build-depends:       base              >=4.6 && <4.8
+                     , template-haskell  >=2.7 && <2.10
+                     , transformers      >=0.3 && <0.5
+                     , mtl               >=2.1 && <2.3
+                     , monad-control     >=0.3 && <0.4
+                     , transformers-base >=0.4 && <0.5
+
+                     , text               >=1.1 && <1.2
+                     , bytestring         >=0.10 && <0.11
+                     , blaze-builder      >=0.3 && <0.4
+                     , conduit            >=1.1 && <1.2
+                     , monad-logger       >=0.3 && <0.4
+                     , data-default-class >=0.0 && <0.1
+
+                     , http-types        >=0.8 && <0.9
+                     , mime-types        >=0.1 && <0.2
+                     , wai               >=2.1 && <2.2
+                     , warp              >=2.1 && <2.2
+
+  hs-source-dirs:      src
+  ghc-options:         -O2 -Wall
+  default-language:    Haskell2010
+
+source-repository head
+  type:     git
+  location: git://github.com/philopon/apiary.git