I couldn\'t find a beginner friendly answer to what the difference between the \"local\" and \"let\" keywords in SML is. Could someone provide a simple example please and ex
The short answer is: local is a declaration, let is an expression. Consequently, they are used in different syntactic contexts, and local requires declarations between in and end, while let requires an expression there. It's not much deeper than that.
As @SimonShine mentioned, local is often discouraged in favour of using modules.