> You have a spelling error in your function. You're setting to anwser and > return answer.
I think OP knew that. The question was more along the lines of whether Julia ought to have a way to detect assignment to an unused variable, or else have some way to detect typos of this sort. Thanks, Jiahao Chen, PhD Staff Research Scientist MIT Computer Science and Artificial Intelligence Laboratory
