ATSLIB/contrib/hiredis/hiredis_ML

This package contains an API in ATS of quasi ML-style for the hiredis package.


  • redisVal
  • redisReply2Val0
  • redisReply2Val1
  • fprint_redisVal
  • redis_auth
  • redis_ping
  • redis_echo
  • redis_quit
  • redis_keys
  • redis_flushdb
  • redis_flushall
  • redis_del
  • redis_del1
  • redis_del2
  • redis_del3
  • redis_exists
  • redis_get
  • redis_set_int
  • redis_set_string
  • redis_setnx_int
  • redis_setnx_string
  • redis_getset_int
  • redis_getset_string
  • redis_decr
  • redis_decrby
  • redis_incr
  • redis_incrby
  • redis_incrbyfloat
  • redis_rename
  • redis_llen
  • redis_lpop
  • redis_lpush_int
  • redis_lpush_string
  • redis_rpop
  • redis_rpush_int
  • redis_rpush_string
  • redis_lindex
  • redis_lrange
  • redis_scard
  • redis_sadd_int
  • redis_sadd_string
  • redis_srem_int
  • redis_srem_string
  • redis_smove_int
  • redis_smove_string
  • redis_spop
  • redis_smembers
  • redis_sismember_int
  • redis_sismember_string
  • redis_hlen
  • redis_hkeys
  • redis_hvals
  • redis_hexists
  • redis_hdel
  • redis_hdel1
  • redis_hdel2
  • redis_hget
  • redis_hset_int
  • redis_hset_string
  • redis_hsetnx_int
  • redis_hsetnx_string
  • redis_hincrby
  • redis_hincrbyfloat

  • redisVal

    Synopsis

    datatype
    redisVal =
    | RDSstring of string
    | RDSinteger of llint
    | {n:nat}
      RDSarray of (arrayref (redisVal, n), size_t n)
    | RDSnil of ()
    | RDSstatus of string
    | RDSerror of string

    redisReply2Val0

    Synopsis

    fun redisReply2Val0 (rep: redisReply1): redisVal

    redisReply2Val1

    Synopsis

    fun redisReply2Val1 (rep: !redisReply1): redisVal

    fprint_redisVal

    Synopsis

    fun fprint_redisVal (FILEref, redisVal): void

    redis_auth

    Synopsis

    fun redis_auth
      (!redisContext1, pass: string, err: &int >> _): redisVal

    redis_ping

    Synopsis

    fun redis_ping
      (!redisContext1, err: &int >> _): redisVal

    redis_echo

    Synopsis

    fun redis_echo
      (!redisContext1, msg: string, err: &int >> _): redisVal

    redis_quit

    Synopsis

    fun redis_quit (ctx: redisContext1): redisVal

    redis_keys

    Synopsis

    fun redis_keys
      (!redisContext1, pat: string, err: &int >> _): redisVal

    redis_flushdb

    Synopsis

    fun redis_flushdb (!redisContext1, err: &int >> _): redisVal

    redis_flushall

    Synopsis

    fun redis_flushall (!redisContext1, err: &int >> _): redisVal

    redis_del

    Synopsis

    overload redis_del with redis_del1
    overload redis_del with redis_del2
    overload redis_del with redis_del3

    redis_del1

    Synopsis

    fun redis_del1
      (!redisContext1, k: string, err: &int >> _): redisVal

    redis_del2

    Synopsis

    fun redis_del2
      (!redisContext1, k1: string, k2: string, err: &int >> _): redisVal

    redis_del3

    Synopsis

    fun redis_del3
      (!redisContext1, k1: string, k2: string, k3: string, err: &int >> _): redisVal

    redis_exists

    Synopsis

    fun redis_exists
      (!redisContext1, k: string, err: &int >> _): redisVal

    redis_get

    Synopsis

    fun redis_get
      (!redisContext1, k: string, err: &int >> _): redisVal

    redis_set_int

    Synopsis

    fun redis_set_int
      (!redisContext1, k: string, v: int, err: &int >> _): redisVal

    redis_set_string

    Synopsis

    fun redis_set_string
      (!redisContext1, k: string, v: string, err: &int >> _): redisVal

    redis_setnx_int

    Synopsis

    fun redis_setnx_int
      (!redisContext1, k: string, v: int, err: &int >> _): redisVal

    redis_setnx_string

    Synopsis

    fun redis_setnx_string
      (!redisContext1, k: string, v: string, err: &int >> _): redisVal

    redis_getset_int

    Synopsis

    fun redis_getset_int
      (!redisContext1, k: string, v: int, err: &int >> _): redisVal

    redis_getset_string

    Synopsis

    fun redis_getset_string
      (!redisContext1, k: string, v: string, err: &int >> _): redisVal

    redis_decr

    Synopsis

    fun redis_decr
      (!redisContext1, k: string, err: &int >> _): redisVal

    redis_decrby

    Synopsis

    fun redis_decrby
      (!redisContext1, k: string, d: int, err: &int >> _): redisVal

    redis_incr

    Synopsis

    fun redis_incr
      (!redisContext1, k: string, err: &int >> _): redisVal

    redis_incrby

    Synopsis

    fun redis_incrby
      (!redisContext1, k: string, d: int, err: &int >> _): redisVal

    redis_incrbyfloat

    Synopsis

    fun redis_incrbyfloat
      (!redisContext1, k: string, d: double, err: &int >> _): redisVal

    redis_rename

    Synopsis

    fun redis_rename
      (!redisContext1, k: string, k2: string, err: &int >> _): redisVal

    redis_llen

    Synopsis

    fun redis_llen
      (!redisContext1, k: string, err: &int >> _): redisVal

    redis_lpop

    Synopsis

    fun redis_lpop
      (!redisContext1, k: string, err: &int >> _): redisVal

    redis_lpush_int

    Synopsis

    fun redis_lpush_int
      (!redisContext1, k: string, v: int, err: &int >> _): redisVal

    redis_lpush_string

    Synopsis

    fun redis_lpush_string
      (!redisContext1, k: string, v: string, err: &int >> _): redisVal

    redis_rpop

    Synopsis

    fun redis_rpop
      (!redisContext1, k: string, err: &int >> _): redisVal

    redis_rpush_int

    Synopsis

    fun redis_rpush_int
      (!redisContext1, k: string, v: int, err: &int >> _): redisVal

    redis_rpush_string

    Synopsis

    fun redis_rpush_string
      (!redisContext1, k: string, v: string, err: &int >> _): redisVal

    redis_lindex

    Synopsis

    fun redis_lindex
      (!redisContext1, k: string, i: int, err: &int >> _): redisVal

    redis_lrange

    Synopsis

    fun redis_lrange
      (!redisContext1, k: string, i0: int, i1: int, err: &int >> _): redisVal

    redis_scard

    Synopsis

    fun redis_scard
      (!redisContext1, k: string, err: &int >> _): redisVal

    redis_sadd_int

    Synopsis

    fun redis_sadd_int
      (!redisContext1, k: string, v: int, err: &int >> _): redisVal

    redis_sadd_string

    Synopsis

    fun redis_sadd_string
      (!redisContext1, k: string, v: string, err: &int >> _): redisVal

    redis_srem_int

    Synopsis

    fun redis_srem_int
      (!redisContext1, k: string, v: int, err: &int >> _): redisVal

    redis_srem_string

    Synopsis

    fun redis_srem_string
      (!redisContext1, k: string, v: string, err: &int >> _): redisVal

    redis_smove_int

    Synopsis

    fun redis_smove_int
      (!redisContext1, k1: string, k2: string, v: int, err: &int >> _): redisVal

    redis_smove_string

    Synopsis

    fun redis_smove_string
      (!redisContext1, k1: string, k2: string, v: string, err: &int >> _): redisVal

    redis_spop

    Synopsis

    fun redis_spop
      (!redisContext1, k: string, err: &int >> _): redisVal

    redis_smembers

    Synopsis

    fun redis_smembers
      (!redisContext1, k: string, err: &int >> _): redisVal

    redis_sismember_int

    Synopsis

    fun redis_sismember_int
      (!redisContext1, k: string, v: int, err: &int >> _): redisVal

    redis_sismember_string

    Synopsis

    fun redis_sismember_string
      (!redisContext1, k: string, v: string, err: &int >> _): redisVal

    redis_hlen

    Synopsis

    fun redis_hlen
      (!redisContext1, k: string, err: &int >> _): redisVal

    redis_hkeys

    Synopsis

    fun redis_hkeys
      (!redisContext1, k: string, err: &int >> _): redisVal

    redis_hvals

    Synopsis

    fun redis_hvals
      (!redisContext1, k: string, err: &int >> _): redisVal

    redis_hexists

    Synopsis

    fun redis_hexists
      (!redisContext1, k: string, f: string, err: &int >> _): redisVal

    redis_hdel

    Synopsis

    overload redis_hdel with redis_hdel1
    overload redis_hdel with redis_hdel2

    redis_hdel1

    Synopsis

    fun redis_hdel1
      (!redisContext1, k: string, f: string, err: &int >> _): redisVal

    redis_hdel2

    Synopsis

    fun redis_hdel2
      (!redisContext1, k: string, f1: string, f2: string, err: &int >> _): redisVal

    redis_hget

    Synopsis

    fun redis_hget
      (!redisContext1, k: string, f: string, err: &int >> _): redisVal

    redis_hset_int

    Synopsis

    fun redis_hset_int
      (!redisContext1, k: string, f: string, v: int, err: &int >> _): redisVal

    redis_hset_string

    Synopsis

    fun redis_hset_string
      (!redisContext1, k: string, f: string, v: string, err: &int >> _): redisVal

    redis_hsetnx_int

    Synopsis

    fun redis_hsetnx_int
      (!redisContext1, k: string, f: string, v: int, err: &int >> _): redisVal

    redis_hsetnx_string

    Synopsis

    fun redis_hsetnx_string
      (!redisContext1, k: string, f: string, v: string, err: &int >> _): redisVal

    redis_hincrby

    Synopsis

    fun redis_hincrby
      (!redisContext1, k: string, f: string, d: int, err: &int >> _): redisVal

    redis_hincrbyfloat

    Synopsis

    fun redis_hincrbyfloat
      (!redisContext1, k: string, f: string, d: double, err: &int >> _): redisVal

    This page is created with ATS by Hongwei Xi and also maintained by Hongwei Xi. SourceForge.net Logo