home
/
code
/
hope.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17b5d68
)
Fix lists:foldl/3 order of arguments.
author
Siraaj Khandkar
<siraaj@khandkar.net>
Tue, 19 Aug 2014 00:31:02 +0000
(20:31 -0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Tue, 19 Aug 2014 00:31:02 +0000
(20:31 -0400)
src/hope_kv_list.erl
patch
|
blob
|
blame
|
history
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.028372 seconds
and
4
git commands to generate.