anchor.diff:      edis_db:process(0),
       #edis_command{cmd = <<"ZREMRANGEBYSCORE">>,
                     args = [?KEY, neg_infinity, {inc, edis_util:binary_to_float(Key)}],
  -                  group = zsets, result_type = multi_bulk}).+                  group = zsets, result_type = multi_bulk}).
  +
  +-spec zrevrange_n([binary()]) -> [binary()].
  +zrevrange_n(_Keys) ->
  +  catch edis_db:run(
  +    edis_db:process(0),
  +    #edis_command{cmd = <<"ZREVRANGE">>, args = [?KEY, -2, -1], group = zsets, result_type = multi_bulk}).
  +
  +-spec zrevrange_m([binary()]) -> [binary()].
  +zrevrange_m([Key|_]) ->
  +  catch edis_db:run(
  +    edis_db:process(0),
  +    #edis_command{cmd = <<"ZREVRANGE">>, args = [?KEY, 0, edis_util:binary_to_integer(Key)],
  +                  group = zsets, result_type = multi_bulk}).
  +
  +-spec zrevrangebyscore_n([binary()]) -> [binary()].
  +zrevrangebyscore_n(_Keys) ->
  +  catch edis_db:run(
  +    edis_db:process(0),
  +    #edis_command{cmd = <<"ZREVRANGEBYSCORE">>, args = [?KEY, neg_infinity, {inc, 1.0}],
  +                  group = zsets, result_type = multi_bulk}).
  +
  +-spec zrevrangebyscore_m([binary()]) -> [binary()].
  +zrevrangebyscore_m([Key|_]) ->
  +  catch edis_db:run(
  +    edis_db:process(0),
  +    #edis_command{cmd = <<"ZREVRANGEBYSCORE">>, args = [?KEY, {inc, edis_util:binary_to_float(Key)}, neg_infinity],
  +                  group = zsets, result_type = multi_bulk}).
  
positive.code:          zinterstore_min/1, zinterstore_n/1, zinterstore_k/1, zinterstore_m/1,
           zrange_n/1, zrange_m/1, zrangebyscore_n/1, zrangebyscore_m/1, zrank/1,
           zrem/1, zrem_one/1, zremrangebyrank_n/1, zremrangebyrank_m/1,
           zremrangebyscore_n/1, zremrangebyscore_m/1]).
  
  %% ====================================================================
  %% External functions
  
negative.code: zrange_n(_Keys) ->
    catch edis_db:run(
      edis_db:process(0),
      #edis_command{cmd = <<"ZRANGE">>, args = [?KEY, -2, -1], group = zsets, result_type = multi_bulk}).
  
  -spec zrange_m([binary()]) -> [binary()].
  zrange_m(_Keys) ->
  