Make scanl-detection tolerant against deeply nested let-expressions.
Fix a missing part of the code from merging.
Merge pull request #77 from pjonsson/scan-tolerance

Make scanl-detection tolerant against deeply nested let-expressions.