home
/
code
/
hope.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add some TODO notes.
[hope.git]
/
src
/
hope_kv_list.erl
diff --git
a/src/hope_kv_list.erl
b/src/hope_kv_list.erl
index
0b80a4a
..
12dbcd2
100644
(file)
--- a/
src/hope_kv_list.erl
+++ b/
src/hope_kv_list.erl
@@
-48,6
+48,7
@@
set(T, K, V) ->
update(T, K, F) ->
V1Opt = get(T, K),
V2 = F(V1Opt),
+ % TODO: Eliminate the 2nd lookup.
set(T, K, V2).
iter(T, Map1) ->
@@
-70,6
+71,7
@@
to_kv_list(T) ->
T.
of_kv_list(List) ->
+ % TODO: Decide if validation is to be done here. Do so if yes.
List.
This page took
0.035039 seconds
and
4
git commands to generate.