Skip to content
This repository has been archived by the owner on May 27, 2022. It is now read-only.

Commit

Permalink
Some more type fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Annette Bieniusa committed Sep 6, 2018
1 parent b1a12a6 commit 5cf852a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/antidote_crdt_counter_b.erl
Expand Up @@ -42,13 +42,13 @@

-export_type([antidote_crdt_counter_b/0, binary_antidote_crdt_counter_b/0, antidote_crdt_counter_b_op/0, id/0]).

-opaque antidote_crdt_counter_b() :: {orddict:orddict(), orddict:orddict()}.
-type antidote_crdt_counter_b() :: {orddict:orddict(), orddict:orddict()}.
-type binary_antidote_crdt_counter_b() :: binary().
-type antidote_crdt_counter_b_op() :: antidote_crdt_counter_b_anon_op() | antidote_crdt_counter_b_src_op().
-type antidote_crdt_counter_b_anon_op() :: {transfer, {pos_integer(), id(), id()}} |
{increment, {pos_integer(), id()}} | {decrement, {pos_integer(), id()}}.
-type antidote_crdt_counter_b_src_op() :: {antidote_crdt_counter_b_anon_op(), id()}.
-type id() :: term. %% A replica's identifier.
-type id() :: term(). %% A replica's identifier.

%% @doc Return a new, empty `antidote_crdt_counter_b()'.
-spec new() -> antidote_crdt_counter_b().
Expand Down

0 comments on commit 5cf852a

Please sign in to comment.