Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 763914a6ec
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (11 sloc) 0.276 kB
%% Like example 1 - but with an errot
defMods mod1 shell end.
addMod shell.
def fac = fun(0) -> 1; (N) -> N*fac(N-1) end.
100 = fac(5).
F25 = fac(25).
addMod mod1.
def a(N) -> F25 + N end.
addMod shell.
io:format("mod1:a(10)=~p~n",[mod1:a(10)]).
erl2:make_mods().
Jump to Line
Something went wrong with that request. Please try again.