summaryrefslogtreecommitdiff
path: root/doc/concepts/expressions.org
diff options
context:
space:
mode:
Diffstat (limited to 'doc/concepts/expressions.org')
-rw-r--r--doc/concepts/expressions.org10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/concepts/expressions.org b/doc/concepts/expressions.org
index 2dff612a..d5d3340c 100644
--- a/doc/concepts/expressions.org
+++ b/doc/concepts/expressions.org
@@ -83,6 +83,16 @@ Finally, the ~"body"~ is evaluated in the final environemnt (after
evaluating all binding entries) and the result of evaluating the
~"body"~ is the value for the whole ~"let*"~ expression.
+***** Environment Map: ~"env"~
+
+Creates a map from selected environment variables.
+
+The key ~"vars"~ (default ~[]~) has to be a list of literal strings referring to
+the variable names that should be included in the produced map. This field is
+not evaluated. This expression is only for convenience and does not give new
+expression power. It is equivalent but lot shorter to multiple ~singleton_map~
+expressions combined with ~map_union~.
+
***** Conditionals
****** Binary conditional: ~"if"~