norm2782/snaplet-hdbc — Issue #10: Have you tested your tutorial program?
Author: qzchenwl
Created: 2011-12-16 18:38:27+00:00
State: open

```haskell
someNumHandler :: Handler App App ()
someNumHandler = do
mnum <- getParam "num"
let n = fromMaybe 11 mnum
msgs <- getMessages n
writeBS . pack $ show msgs
```
Type error:
` let n = fromMaybe 11 mnum`