Current section
Files
Jump to
Current section
Files
priv/examples/ecosystem_types.hrl
% Copyright (C) 2012-2019 Olivier Boudeville
%
% This file is part of the Ceylan-WOOPER examples.
%
% It has been placed in the public domain.
%
% Author: Olivier Boudeville [olivier (dot) boudeville (at) esperide (dot) com]
% Common type specifications to be used in the ecosystem-based WOOPER examples.
-type age() :: non_neg_integer().
-type gender() :: 'male' | 'female'.
-type color() :: atom().
-type fur_color() :: color().
-type whisker_color() :: color().
-type nozzle_color() :: color().
-type teat_count() :: non_neg_integer().
-type food() :: atom().
-type children_count() :: non_neg_integer().
-type egg_count() :: non_neg_integer().