Use `let` expression instead of `where` construct

Although `let` expressions are similar to `where` constructs, the former declare aliases of expressions, not functions.