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=1fab838175a4494e353094f8cb2735c6166e1a90;hp=dda6eb06bf4ca500380de1c4e4e941c9580434d5;hb=e0fbc1da088f6d4a87c06c80ad40e2d40339b12a;hpb=352ddeb475ab48aabfab59558827e0e8d927551f diff --git a/src/hope_gen_dictionary.erl b/src/hope_gen_dictionary.erl index dda6eb0..1fab838 100644 --- 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).