diff options
author | Björn Gustavsson <[email protected]> | 2016-03-03 12:00:07 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-03-03 12:00:07 +0100 |
commit | 98581d468ad9d3b8221128071c1eb8526dcc8f7e (patch) | |
tree | 047145becf30489aaa8e0cf0186c30cb2854c8ab /system | |
parent | 0c330d97894b214bd78ec6a2afd207a7c20c5140 (diff) | |
parent | 205405f0bf1d2fa37d4c8170c11689a2937f5d9c (diff) | |
download | otp-98581d468ad9d3b8221128071c1eb8526dcc8f7e.tar.gz otp-98581d468ad9d3b8221128071c1eb8526dcc8f7e.tar.bz2 otp-98581d468ad9d3b8221128071c1eb8526dcc8f7e.zip |
Merge branch 'bjorn/compiler/binary-comprehensions/OTP-13289'
* bjorn/compiler/binary-comprehensions/OTP-13289:
Generalize bit string comprehensions
Diffstat (limited to 'system')
-rw-r--r-- | system/doc/reference_manual/expressions.xml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/system/doc/reference_manual/expressions.xml b/system/doc/reference_manual/expressions.xml index e98fcbcbb9..75486488e9 100644 --- a/system/doc/reference_manual/expressions.xml +++ b/system/doc/reference_manual/expressions.xml @@ -1556,9 +1556,11 @@ end</pre> <p>Bit string comprehensions are written with the following syntax:</p> <pre> -<< BitString || Qualifier1,...,QualifierN >></pre> - <p>Here, <c>BitString</c> is a bit string expression and each - <c>Qualifier</c> is either a generator, a bit string generator or a filter.</p> +<< BitStringExpr || Qualifier1,...,QualifierN >></pre> + <p><c>BitStringExpr</c> is an expression that evalutes to a bit + string. If <c>BitStringExpr</c> is a function call, it must be + enclosed in parentheses. Each <c>Qualifier</c> is either a + generator, a bit string generator or a filter.</p> <list type="bulleted"> <item>A <em>generator</em> is written as: <br></br> <c><![CDATA[Pattern <- ListExpr]]></c>. <br></br> |