home
/
code
/
hope.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix lists:foldl/3 order of arguments.
[hope.git]
/
src
/
hope_kv_list.erl
diff --git
a/src/hope_kv_list.erl
b/src/hope_kv_list.erl
index
ebc4176
..
3c392ee
100644
(file)
--- a/
src/hope_kv_list.erl
+++ b/
src/hope_kv_list.erl
@@
-72,7
+72,7
@@
filter(T, F1) ->
fold(T, F1, Accumulator) ->
F2 = fun ({K, V}, Acc) -> F1(K, V, Acc) end,
- lists:foldl(F2,
T, Accumulator
).
+ lists:foldl(F2,
Accumulator, T
).
to_kv_list(T) ->
T.
This page took
0.022327 seconds
and
4
git commands to generate.