anchor.diff:  
   
   %% @private
  --spec assign_entry_indices(
  -    direction(),
  -    [infinite_log:entry()],
  -    infinite_log:entry_index(),
  -    infinite_log:entry_index()
  -) -> listing_batch().
  +-spec assign_entry_indices(direction(), [entry()], entry_index(), entry_index()) ->
  +    listing_batch().
   assign_entry_indices(?FORWARD, Entries, StartIndex, EndIndex) ->
       lists:zip(lists:seq(StartIndex, EndIndex), Entries);
   assign_entry_indices(?BACKWARD, Entries, StartIndex, EndIndex) ->
  
positive.code: 
  
  %% @private
  -spec entry_index_newer_than_latest_in_node(
      infinite_log_sentinel:record(),
      infinite_log_node:node_number(),
      direction()
  ) ->
      infinite_log:entry_index().
  entry_index_newer_than_latest_in_node(Sentinel, NodeNumber, Direction) ->
      NewestIndex = index_in_node_to_entry_index(Sentinel, NodeNumber + 1, 0) - 1,
      case Direction of
  
negative.code: 
  
  %% @private
  -spec calc_end_index(direction(), entry_index(), limit()) ->
      entry_index().
  calc_end_index(?FORWARD, StartIndex, Limit) ->
      StartIndex + Limit - 1;
  calc_end_index(?BACKWARD, StartIndex, Limit) ->
  