From 14de54495030e746b475afa13aead9e86d8bc3ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Wed, 11 Jan 2017 14:44:57 +0100 Subject: expressions.xml: Remove superfluous references to OTP R7/R10 --- system/doc/reference_manual/expressions.xml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/system/doc/reference_manual/expressions.xml b/system/doc/reference_manual/expressions.xml index 1a3d19aed1..acd1dec901 100644 --- a/system/doc/reference_manual/expressions.xml +++ b/system/doc/reference_manual/expressions.xml @@ -123,10 +123,9 @@ member(_Elem, []) -> or receive expression must be bound in all branches to have a value outside the expression. Otherwise they are regarded as 'unsafe' outside the expression.

-

For the try expression introduced in - Erlang 5.4/OTP R10B, variable scoping is limited so that +

For the try expression variable scoping is limited so that variables bound in the expression are always 'unsafe' outside - the expression. This is to be improved.

+ the expression.

@@ -189,7 +188,6 @@ f([$p,$r,$e,$f,$i,$x | Str]) -> ...
 case {Value, Result} of
     {?THRESHOLD+1, ok} -> ...
-

This feature was added in Erlang 5.0/OTP R7.

@@ -1348,8 +1346,8 @@ catch ExceptionBodyN end

This is an enhancement of - catch that appeared in - Erlang 5.4/OTP R10B. It gives the possibility to:

+ catch. + It gives the possibility to:

Distinguish between different exception classes. Choose to handle only the desired ones. -- cgit v1.2.3