diff options
author | Magnus Henoch <[email protected]> | 2017-02-14 21:34:08 +0000 |
---|---|---|
committer | Magnus Henoch <[email protected]> | 2017-02-15 11:06:49 +0000 |
commit | 0e9cc01738dbee0d144194b9025307dc22dc22a1 (patch) | |
tree | d739b0646545da003cae5b5f814946a385d97756 | |
parent | aa1a098b46d0a4d8dd122efcc78a7a1a3f6c6e4e (diff) | |
download | otp-0e9cc01738dbee0d144194b9025307dc22dc22a1.tar.gz otp-0e9cc01738dbee0d144194b9025307dc22dc22a1.tar.bz2 otp-0e9cc01738dbee0d144194b9025307dc22dc22a1.zip |
Documentation: tuple funs are unsupported
Remove use of tuple fun from erl_call documentation. It seems like
fun math:sqrt/1 isn't parsed correctly by erl_call, so I replaced the
example with a simpler one that doesn't require a fun.
-rw-r--r-- | lib/erl_interface/doc/src/erl_call.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/erl_interface/doc/src/erl_call.xml b/lib/erl_interface/doc/src/erl_call.xml index f1e52b1889..426f6b88ca 100644 --- a/lib/erl_interface/doc/src/erl_call.xml +++ b/lib/erl_interface/doc/src/erl_call.xml @@ -193,7 +193,7 @@ erl_call -s -a 'erlang halt' -n madonna <p>To apply with many arguments:</p> <code type="none"><![CDATA[ -erl_call -s -a 'lists map [{math,sqrt},[1,4,9,16,25]]' -n madonna +erl_call -s -a 'lists seq [1,10]' -n madonna ]]></code> <p>To evaluate some expressions |