Open
Description
With
generateLambdaDispatcher UseWithAPIGateway defaultDispatcherOptions
I'm currently seeing these warnings:
/app/Main.hs:58:1: warning: [-Wunused-matches]
Defined but not used: ‘executionUuid’
|
58 | generateLambdaDispatcher UseWithAPIGateway defaultDispatcherOptions
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/app/Main.hs:58:1: warning: [-Wunused-matches]
Defined but not used: ‘eventObject’
|
58 | generateLambdaDispatcher UseWithAPIGateway defaultDispatcherOptions
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/app/Main.hs:58:1: warning: [-Wunused-matches]
Defined but not used: ‘contextObject’
|
58 | generateLambdaDispatcher UseWithAPIGateway defaultDispatcherOptions
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/app/Main.hs:58:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature:
run :: Applicative f =>
LambdaOptions context
-> f (Either
aws-lambda-haskell-runtime-3.0.1:Aws.Lambda.Runtime.Common.LambdaError
b)
|
58 | generateLambdaDispatcher UseWithAPIGateway defaultDispatcherOptions
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/app/Main.hs:58:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature: main :: IO ()
|
58 | generateLambdaDispatcher UseWithAPIGateway defaultDispatcherOptions
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Is it possible to get rid of them?
Version 3.0.1
Metadata
Metadata
Assignees
Labels
No labels