Anonymous user
Scope modifiers: Difference between revisions
→{{header|Ela}}
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 = 3.14159
|