Solutions/ranran2121_solutions.js
// Write a function liftf that takes a binary function, and makes it callable with two invocations
Write a function liftf that takes a binary function, and makes it callable with two invocations
Write a function liftf that takes a binary function and makes it callable with two invocations
function liftf(fn) {
  return (a) => {
    return (b) => {
      return fn(a, b);
    };
  };
}
function liftf ( fn ) { return ( a ) => { return ( b ) => { return fn ( a , b ) ; } ; } ; }
Write a function liftf that takes a binary function, and makes it callable with two invocations
Write a function liftf that takes a binary function and makes it callable with two invocations