diff options
-rw-r--r-- | docs/markdown/Reference-manual.md | 2 | ||||
-rw-r--r-- | docs/markdown/Syntax.md | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index 277353b..f9efe53 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -1745,6 +1745,8 @@ The following methods are defined for all [dictionaries](Syntax.md#dictionaries) You can also iterate over dictionaries with the [`foreach` statement](Syntax.md#foreach-statements). +Dictionaries are available since 0.47.0. + ## Returned objects These are objects returned by the [functions listed above](#functions). diff --git a/docs/markdown/Syntax.md b/docs/markdown/Syntax.md index 69b3f52..42002f4 100644 --- a/docs/markdown/Syntax.md +++ b/docs/markdown/Syntax.md @@ -304,6 +304,8 @@ my_dict = {'foo': 42, 'foo': 43} Dictionaries are immutable. +Dictionaries are available since 0.47.0. + Visit the [Reference Manual](Reference-manual.md#dictionary-object) to read about the methods exposed by dictionaries. @@ -377,7 +379,8 @@ endforeach ### Foreach with a dictionary Here's an example of you could iterate a set of components that -should be compiled in according to some configuration. +should be compiled in according to some configuration. This uses +a [dictionary][dictionaries], which is available since 0.47.0. ```meson components = { |