Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

correct trace in ordered_list

  • Loading branch information...
commit 5d897e03a77391932052470eed3eb4f0e5a48dd0 1 parent 7c69b67
@meeusr authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ordered_list.erl
View
2  ordered_list.erl
@@ -12,7 +12,7 @@ valid_entry_count([],_Now,_Age,_F,Acc) ->
valid_entry_count([Head|Tail],Now,Age,F,Acc) ->
Diff = F(Now,Head),
- io:format("valid_entry_count ~p\n",[Timediff]),
+ io:format("valid_entry_count ~p\n",[Diff]),
if
Diff < Age ->
valid_entry_count(Tail,Now,Age,F,Acc+1);
Please sign in to comment.
Something went wrong with that request. Please try again.