1 %%%-------------------------------------------------------------------
6 %%% Created : 14 Apr 2011 by <>
7 %%%-------------------------------------------------------------------
13 -spec
mkdir(string()) -> boolean().
17 os:cmd("mkdir " ++ filename:nativename(Dir
));
19 filelib:ensure_dir(Dir
)
23 -spec
file_out([term()], string()) -> ok
| {error
, any()}.
24 file_out(Terms
, OutputFile
) ->
25 {ok
, Io
} = file:open(OutputFile
, [ write
]),
26 lists:foreach(fun(SynTask
) ->
27 file:write(Io
, io_lib:fwrite("~p.\n", [SynTask
]))
32 -spec
delayed_apply(integer(), fun(), [term()]) -> any().
33 delayed_apply(Milli
, F
, Args
) ->