aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2010-12-21 01:04:52 +0100
committerBadlop <badlop@process-one.net>2010-12-21 01:04:52 +0100
commit0859667a8c884cbb1e3c9444136376af45d7610d (patch)
tree8a95364b6032ca6840d7c1c5227e8a260002921c
parentRemove call to function no longer existent (diff)
Fix Type definition
-rw-r--r--src/gen_storage.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gen_storage.erl b/src/gen_storage.erl
index 541bcd776..0d6b1a58c 100644
--- a/src/gen_storage.erl
+++ b/src/gen_storage.erl
@@ -200,9 +200,11 @@ dirty_read(Host, Tab, Key) ->
%% select/3
+%% If Matchvalue is a tuple, then its size must be == length(string:tokens(Matchrule, "_"))
-type(matchvalue() :: '_'
| integer()
- | string()).
+ | string()
+ | tuple()).
%% | {matchvalue(), matchrule()}.
-type(matchrule() :: {'and', matchrule(), matchrule()}
| {'andalso', matchrule(), matchrule()}