ngx-export-tools 0.4.2.2 → 0.4.2.3
raw patch · 3 files changed
+12/−11 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Changelog.md +4/−0
- NgxExport/Tools.hs +7/−10
- ngx-export-tools.cabal +1/−1
Changelog.md view
@@ -1,3 +1,7 @@+### 0.4.2.3++- Using *TypeApplications* instead of *PartialTypeSignatures* in examples.+ ### 0.4.2.0 - More improvements in code generation of simple services.
NgxExport/Tools.hs view
@@ -166,10 +166,7 @@ -- -- ==== File /test_tools.hs/ -- @--- {-\# OPTIONS_GHC -Wno-partial-type-signatures \#-}------ {-\# LANGUAGE TemplateHaskell, DeriveGeneric \#-}--- {-\# LANGUAGE PartialTypeSignatures, NamedWildCards \#-}+-- {-\# LANGUAGE TemplateHaskell, DeriveGeneric, TypeApplications \#-} -- -- module TestTools where --@@ -193,27 +190,27 @@ -- -- testReadIntHandler :: ByteString -> L.ByteString -- __/testReadIntHandler/__ = showAsLazyByteString .--- ('readFromByteString' :: _s -> Maybe Int)+-- 'readFromByteString' \@(Maybe Int) -- 'ngxExportYY' \'testReadIntHandler -- -- testReadConfHandler :: ByteString -> L.ByteString -- __/testReadConfHandler/__ = showAsLazyByteString .--- ('readFromByteString' :: _s -> Maybe Conf)+-- 'readFromByteString' \@(Maybe Conf) -- 'ngxExportYY' \'testReadConfHandler -- -- testReadConfJSONHandler :: ByteString -> IO L.ByteString -- __/testReadConfJSONHandler/__ = return . showAsLazyByteString .--- ('readFromByteStringAsJSON' :: _s -> Maybe ConfJSON)+-- 'readFromByteStringAsJSON' \@(Maybe ConfJSON) -- 'ngxExportAsyncIOYY' \'testReadConfJSONHandler -- -- testReadConfWithRPtrHandler :: ByteString -> L.ByteString -- __/testReadConfWithRPtrHandler/__ = showAsLazyByteString .--- ('readFromByteStringWithRPtr' :: _s -> (_p, Maybe Conf))+-- 'readFromByteStringWithRPtr' \@(Maybe Conf) -- 'ngxExportYY' \'testReadConfWithRPtrHandler -- -- testReadConfWithRPtrJSONHandler :: ByteString -> L.ByteString -- __/testReadConfWithRPtrJSONHandler/__ = showAsLazyByteString .--- ('readFromByteStringWithRPtrAsJSON' :: _s -> (_p, Maybe ConfJSON))+-- 'readFromByteStringWithRPtrAsJSON' \@(Maybe ConfJSON) -- 'ngxExportYY' \'testReadConfWithRPtrJSONHandler -- @ --@@ -390,7 +387,7 @@ -- } deriving (Read, Show) -- -- testReadConfWithDelay :: ConfWithDelay -> Bool -> IO L.ByteString--- __/testReadConfWithDelay/__ c@ConfWithDelay {..} fstRun = do+-- __/testReadConfWithDelay/__ c\@ConfWithDelay {..} fstRun = do -- unless fstRun $ 'threadDelaySec' $ 'toSec' delay -- testRead c -- 'ngxExportSimpleServiceTyped' \'testReadConfWithDelay \'\'ConfWithDelay $
ngx-export-tools.cabal view
@@ -1,5 +1,5 @@ name: ngx-export-tools-version: 0.4.2.2+version: 0.4.2.3 synopsis: Extra tools for Nginx haskell module description: Extra tools for <http://github.com/lyokha/nginx-haskell-module Nginx haskell module>.