Skip to content

Instantly share code, notes, and snippets.

@archaelus
Created March 5, 2009 16:31
Show Gist options
  • Save archaelus/74424 to your computer and use it in GitHub Desktop.
Save archaelus/74424 to your computer and use it in GitHub Desktop.
%% @type predicate() = {'duplication', [field()]} |
%% 'not_empty' |
%% 'string' |
%% {'length', [Exact::integer()]} |
%% {'length', [Min::integer(), Max::integer()]} |
%% {'predicate', function()} |
%% {'not_predicate', function()} |
%% 'email_address' |
%% {'regex', Regex::string()} |
%% {'member', [term()]}.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment