distributed-fork-aws-lambda 0.0.1.1 → 0.0.1.2
raw patch · 2 files changed
+5/−5 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
distributed-fork-aws-lambda.cabal view
@@ -1,5 +1,5 @@ name: distributed-fork-aws-lambda-version: 0.0.1.1+version: 0.0.1.2 synopsis: AWS Lambda backend for distributed-fork. homepage: https://github.com/utdemir/distributed-fork license: BSD3@@ -7,7 +7,7 @@ author: Utku Demir maintainer: me@utdemir.com copyright: Utku Demir-category: Web+category: Control build-type: Simple cabal-version: >=1.10
src/Control/Distributed/Fork/Lambda.hs view
@@ -87,9 +87,9 @@ -- main :: IO () -- main = do -- 'initDistributedFork'--- 'withLambdaBackend' opts $ \backend -> do--- ret <- 'execute' 'backend' (static 'Dict') (static (return "Hello from Lambda!"))--- putStrLn ret+-- 'withLambdaBackend' opts $ \\backend -> do+-- handle <- 'fork' backend (static Dict) (static (return "Hello from Lambda!"))+-- await handle >>= putStrLn -- @ withLambdaBackend :: LambdaBackendOptions -> (Backend -> IO a) -> IO a