code: function curry4(f) {
      return function(w) {
        return function(x) {
          return function(y) {
            return function(z) {
              return f (w, x, y, z);
            };
          };
        };
      };
    }
docs: # curry4 :: ((a, b, c, d) -> e) -> a -> b -> c -> d -> e . . Curries the given quaternary function. . . ```javascript . > const createRect = S.curry4 ((x, y, width, height) => . .   ({x, y, width, height}) . . ) . . > createRect (0) (0) (10) (10) . {x: 0, y: 0, width: 10, height: 10} . ```