code: function(a, b) {
           return {
              d: function(x, logp) { return dunif(a, b, logp)(x); },
              p: function(q, lowerTail, logp) {
                 return punif(a, b, lowerTail, logp)(q);
              },
              q: function(p, lowerTail, logp) {
                 return qunif(a, b, lowerTail, logp)(p);
              },
              r: function() { return runif(a, b)(); }
           };
        }
docs: Returns an object representing a Uniform distribution on $[a, b]$,
  with properties `d`, `p`, `q`, `r`.
  ```
  unif(a, b).d(x, logp)            // same as dunif(a, b, logp)(x)
  unif(a, b).p(x, lowerTail, logp) // same as punif(a, b, lowerTail, logp)(x)
  unif(a, b).q(x, lowerTail, logp) // same as qunif(a, b, lowerTail, logp)(x)
  unif(a, b).r()                   // same as runif(a, b)()
  ```
  @memberof uniform