Functional Programming
... • Programs describe what the problem is, not how to solve it. • Programs are stateless, immutable data and data structures are used (e.g., constants instead of variables, or lists instead of arrays). • There are no side effects, programs are referentially transparent. • There are no statements, comp ...
... • Programs describe what the problem is, not how to solve it. • Programs are stateless, immutable data and data structures are used (e.g., constants instead of variables, or lists instead of arrays). • There are no side effects, programs are referentially transparent. • There are no statements, comp ...
Programming Languages
... • Forms of atoms – sequence of characters, a string, an identifier – sequence of digits, an integer [perhaps with sign] – syntax of a real number – T, meaning true – F, meaning false – ϕ, the symbol representing the empty list ...
... • Forms of atoms – sequence of characters, a string, an identifier – sequence of digits, an integer [perhaps with sign] – syntax of a real number – T, meaning true – F, meaning false – ϕ, the symbol representing the empty list ...