Scope modifiers: Difference between revisions

Go explanation
(Go explanation)
Line 110:
 
=={{header|E}}==
 
E has no scope modifiers; all variables (including function definitions) are lexical. When more than one file is involved, all import/export of definitions is handled by explicit return values, parameters, or reified environments.
=={{header|Go}}==
Go is lexically scoped and has just one scope modification feature, exported identifiers. Identifiers—variables and field names—are not visible outside of the package in which they are defined unless they begin with an upper case letter, as defined by Unicode class "Lu".
 
=={{header|Haskell}}==
1,707

edits