I want to have access to a let-binding within a following where-clause.
Why does this Code fail? And even more important: How do I get it to work?
test bar = let baz = bar - 1 in
foo where
foo = baz`
it says:
Not in scope: baz'
Perhaps you meantbar'
baz'or was itbazthat you wanted?