From 53ec991d193d5115b356d5850b6b1fae0ad71df6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Fri, 30 Nov 2012 15:48:17 +0100 Subject: Teach is_function/2 that tuples are not funs --- erts/doc/src/erlang.xml | 7 ------- 1 file changed, 7 deletions(-) (limited to 'erts/doc') 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% applied with Arity number of arguments; otherwise returns false.

Allowed in guard tests.

- -

Currently, is_function/2 will also return - true 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 is_function/2 will return - false if given a tuple fun.

-
-- cgit v1.2.3