Scope modifiers: Difference between revisions

Line 167:
Variables in Ela are lexically scoped (pretty similar to Haskell) and can be declared using let/in and where bindings. Additionally Ela provides a 'private' scope modifier for global bindings:
 
<lang ela>pi # private
pi # private
pi = 3.14159
 
Anonymous user