diff options
author | Zandra Hird <[email protected]> | 2015-02-13 15:00:50 +0100 |
---|---|---|
committer | Zandra Hird <[email protected]> | 2015-02-13 15:00:50 +0100 |
commit | 8373b3dee3c44b9afda0bf7bf5793c81d1b62d55 (patch) | |
tree | 9913c64ce0d6bf68ecf07903098d019c9030e620 | |
parent | 91cde7fe31b1542fed786d5427dff3d2d0d5421c (diff) | |
parent | b0e9b2040221d880910c89f27b06dfef39105e39 (diff) | |
download | otp-8373b3dee3c44b9afda0bf7bf5793c81d1b62d55.tar.gz otp-8373b3dee3c44b9afda0bf7bf5793c81d1b62d55.tar.bz2 otp-8373b3dee3c44b9afda0bf7bf5793c81d1b62d55.zip |
Merge branch 'maint'
-rw-r--r-- | system/doc/programming_examples/fun_test.erl | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/system/doc/programming_examples/fun_test.erl b/system/doc/programming_examples/fun_test.erl index 8472fd87f8..8a3b0106c0 100644 --- a/system/doc/programming_examples/fun_test.erl +++ b/system/doc/programming_examples/fun_test.erl @@ -1,17 +1,11 @@ %1 -module(fun_test). --export([t1/0, t2/0, t3/0, t4/0, double/1]). +-export([t1/0, t2/0]). -import(lists, [map/2]). t1() -> map(fun(X) -> 2 * X end, [1,2,3,4,5]). t2() -> map(fun double/1, [1,2,3,4,5]). -t3() -> map({?MODULE, double}, [1,2,3,4,5]). - double(X) -> X * 2. %1 - - -t4() -> - "hello world". |