From aeabfb6fe93cf2a7d0af5d0b6f05b7cb7b887158 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Sat, 6 Mar 2010 00:04:50 +0100 Subject: [PATCH] Add escript_foldl/3 TODO Comment what has to be done when the new OTP release is out and the time is right. --- src/rebar_utils.erl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/rebar_utils.erl b/src/rebar_utils.erl index 4bf089e..0ac6cf1 100644 --- a/src/rebar_utils.erl +++ b/src/rebar_utils.erl @@ -112,6 +112,9 @@ abort(String, Args) -> ?ERROR(String, Args), halt(1). +%% TODO: Rename emulate_escript_foldl to escript_foldl and remove +%% this function when the time is right. escript:foldl/3 was an +%% undocumented exported fun and is going to be removed post-R13B04. escript_foldl(Fun, Acc, File) -> case erlang:function_exported(zip, foldl, 3) of true ->