home
/
code
/
hope.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Upgrade proper to current HEAD, to build on OTP 18.X
[hope.git]
/
src
/
hope_gen_dictionary.erl
diff --git
a/src/hope_gen_dictionary.erl
b/src/hope_gen_dictionary.erl
index
dda6eb0
..
ea0f551
100644
(file)
--- a/
src/hope_gen_dictionary.erl
+++ b/
src/hope_gen_dictionary.erl
@@
-18,6
+18,9
@@
-callback get(t(K, V), K, V) ->
V.
+-callback get(t(K, V), K, V, fun((V) -> boolean())) ->
+ V.
+
-callback set(t(K, V), K, V) ->
t(K, V).
@@
-45,3
+48,6
@@
-callback to_kv_list(t(K, V)) ->
[{K, V}].
+
+-callback has_key(t(K, _), K) ->
+ boolean().
This page took
0.019433 seconds
and
4
git commands to generate.