home
/
code
/
hope.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add has_key/2 dictionary method.
[hope.git]
/
src
/
hope_gen_dictionary.erl
diff --git
a/src/hope_gen_dictionary.erl
b/src/hope_gen_dictionary.erl
index
1fab838
..
ea0f551
100644
(file)
--- a/
src/hope_gen_dictionary.erl
+++ b/
src/hope_gen_dictionary.erl
@@
-48,3
+48,6
@@
-callback to_kv_list(t(K, V)) ->
[{K, V}].
-callback to_kv_list(t(K, V)) ->
[{K, V}].
+
+-callback has_key(t(K, _), K) ->
+ boolean().
This page took
0.023058 seconds
and
4
git commands to generate.