import { constructN } from "https://deno.land/x/ramda@v0.27.2/mod.ts";
Wraps a constructor function inside a curried function that can be called with the same arguments and returns the same type. The arity of the function returned is specified to allow using variadic constructor functions.