Provide an error message on malformed lets. Fixes #807.
Merge pull request #808 from nico/bettererror

Provide an error message on malformed lets. Fixes #807.