Let vs. Where


#articles #pocket


Highlights from July 26, 2021

  • It is important to know that let … in … is an expression, that is, it can be written wherever expressions are allowed. In contrast, where is bound to a surrounding syntactic construct, like the pattern matching line of a function definition.