Functional | Imperative | |
---|---|---|
Examples: | Racket Lisp ML Haskell | Fortran C Basic Pascal Assembly Machine |
Structure: | Nested | Linear |
Orientation: | Value | State |
In practice, Racket is rarely used purely functionally.
To do things efficiently, Racket allows the manipulation of state through memory vectors.