Use empty tuple as unit type, for all side-effects.
[hope.git] / src / hope_gen_dictionary.erl
index 174ef67..c0b7e53 100644 (file)
@@ -40,7 +40,7 @@
     Acc.
 
 -callback iter(t(K, V), fun((K, V) -> any())) ->
-    ok.
+    {}.
 
 %% TODO: Decide if validation is to be done. If yes - wrap in hope_result:t/1
 -callback of_kv_list([{K, V}]) ->
This page took 0.01948 seconds and 4 git commands to generate.