Add dictionary get with validation.
[hope.git] / src / hope_gen_dictionary.erl
index dda6eb0..1fab838 100644 (file)
@@ -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).
 
This page took 0.020315 seconds and 4 git commands to generate.