theam / aws-lambda-haskell-runtime

⚡Haskell runtime for AWS Lambda
https://theam.github.io/aws-lambda-haskell-runtime/
Other
269 stars 48 forks source link

Update 03-configuring-the-dispatcher.md #128

Closed chris-ch closed 7 months ago

chris-ch commented 7 months ago

Fixed using HandlerName constructor

dnikolovv commented 7 months ago

HandlerName has an IsString instance so you don't need that.

What would've probably fixed your issue is enabling OverloadedStrings.

NickSeagull commented 7 months ago

Yes, that's correct @dnikolovv. @chris-ch enable OverloadedStrings in your project file (or in the file)