home
/
code
/
hope.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add dictionary get with validation.
[hope.git]
/
src
/
hope_gen_dictionary.erl
diff --git
a/src/hope_gen_dictionary.erl
b/src/hope_gen_dictionary.erl
index
dda6eb0
..
1fab838
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).
This page took
0.020315 seconds
and
4
git commands to generate.