X-Git-Url: https://git.xandkar.net/?p=hope.git;a=blobdiff_plain;f=src%2Fhope_kv_list.erl;h=3c392eec5473765ed943d96bc506eef4219a0f54;hp=ebc4176b1231c29cbf5c2ce4a1a58001c1f2477c;hb=097a2aa31a7823af1859fe8fa5e87dfc57e4618f;hpb=17b5d686d1b6c608c8fab801f44701bb0c6cccf3 diff --git a/src/hope_kv_list.erl b/src/hope_kv_list.erl index ebc4176..3c392ee 100644 --- 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.