2022-08-04 12:36:32 +03:00
|
|
|
# Nix Language
|
2020-07-23 00:17:48 +03:00
|
|
|
|
2022-08-04 12:36:32 +03:00
|
|
|
The Nix language is a pure, lazy, functional language. Purity
|
2020-07-23 00:17:48 +03:00
|
|
|
means that operations in the language don't have side-effects (for
|
|
|
|
instance, there is no variable assignment). Laziness means that
|
|
|
|
arguments to functions are evaluated only when they are needed.
|
|
|
|
Functional means that functions are “normal” values that can be passed
|
|
|
|
around and manipulated in interesting ways. The language is not a
|
|
|
|
full-featured, general purpose language. Its main job is to describe
|
|
|
|
packages, compositions of packages, and the variability within packages.
|
|
|
|
|
|
|
|
This section presents the various features of the language.
|
2022-08-04 12:36:32 +03:00
|
|
|
|