Skip to content

Commit

Permalink
Merge pull request #30 from bellroy/doc-nit
Browse files Browse the repository at this point in the history
doc: `hal` dropped the prime on `mRuntimeWithContext'`
  • Loading branch information
JackKelly-Bellroy authored Jan 17, 2024
2 parents 4fbe6c3 + 9b46af3 commit 2c2a09b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (C) 2021 Bellroy Pty Ltd
Copyright (C) 2021, 2024 Bellroy Pty Ltd

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
Expand Down
6 changes: 3 additions & 3 deletions src/Network/Wai/Handler/Hal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
-- |
--
-- Module : Network.Wai.Handler.Hal
-- Copyright : (C) 2021 Bellroy Pty Ltd
-- Copyright : (C) 2021, 2024 Bellroy Pty Ltd
-- License : BSD-3-Clause
-- Maintainer : Bellroy Tech Team <[email protected]>
-- Stability : experimental
--
-- Lifts an 'Wai.Application' so that it can be run using
-- 'AWS.Lambda.Runtime.mRuntime' or
-- 'AWS.Lambda.Runtime.mRuntimeWithContext''. The glue code will look
-- 'AWS.Lambda.Runtime.mRuntimeWithContext'. The glue code will look
-- something like this:
--
-- @
Expand Down Expand Up @@ -168,7 +168,7 @@ runWithOptions opts app req = liftIO $ do
fromWaiResponse opts waiResp

-- | Convert a WAI 'Wai.Application' into a function that can
-- be run by hal's 'AWS.Lambda.Runtime.mRuntimeWithContext''. This
-- be run by hal's 'AWS.Lambda.Runtime.mRuntimeWithContext'. This
-- function exposes all the configurable knobs.
runWithContext ::
(MonadIO m) =>
Expand Down
2 changes: 1 addition & 1 deletion wai-handler-hal.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ license: BSD-3-Clause
license-file: LICENSE
author: Bellroy Tech Team <[email protected]>
maintainer: Bellroy Tech Team <[email protected]>
copyright: Copyright (C) 2021 Bellroy Pty Ltd
copyright: Copyright (C) 2021, 2024 Bellroy Pty Ltd
category: AWS, Cloud
build-type: Simple
extra-doc-files:
Expand Down

0 comments on commit 2c2a09b

Please sign in to comment.