diff options
author | Björn Gustavsson <[email protected]> | 2012-11-30 15:48:17 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2012-12-01 08:23:19 +0100 |
commit | 53ec991d193d5115b356d5850b6b1fae0ad71df6 (patch) | |
tree | 024e4529d7391a8e67484932bfcd8e0dcbad7792 /erts/doc | |
parent | c4d680549e11e116dcdd95ac29101ef3e54aba5f (diff) | |
download | otp-53ec991d193d5115b356d5850b6b1fae0ad71df6.tar.gz otp-53ec991d193d5115b356d5850b6b1fae0ad71df6.tar.bz2 otp-53ec991d193d5115b356d5850b6b1fae0ad71df6.zip |
Teach is_function/2 that tuples are not funs
Diffstat (limited to 'erts/doc')
-rw-r--r-- | erts/doc/src/erlang.xml | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml index ef0e6fea84..5002c48ca1 100644 --- a/erts/doc/src/erlang.xml +++ b/erts/doc/src/erlang.xml @@ -1497,13 +1497,6 @@ os_prompt% </pre> applied with <c><anno>Arity</anno></c> number of arguments; otherwise returns <c>false</c>.</p> <p>Allowed in guard tests.</p> - <warning> - <p>Currently, <c>is_function/2</c> will also return - <c>true</c> if the first argument is a tuple fun (a tuple - containing two atoms). In a future release, tuple funs will - no longer be supported and <c>is_function/2</c> will return - <c>false</c> if given a tuple fun.</p> - </warning> </desc> </func> <func> |