X-Git-Url: https://git.xandkar.net/?p=hope.git;a=blobdiff_plain;f=src%2Fhope_gen_dictionary.erl;fp=src%2Fhope_gen_dictionary.erl;h=ea0f5510856f847316e177b39dbe85cb28a5f9f5;hp=1fab838175a4494e353094f8cb2735c6166e1a90;hb=67535be2404f057f0df3e128c24b484f066996a4;hpb=e0fbc1da088f6d4a87c06c80ad40e2d40339b12a diff --git a/src/hope_gen_dictionary.erl b/src/hope_gen_dictionary.erl index 1fab838..ea0f551 100644 --- 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 has_key(t(K, _), K) -> + boolean().