These are chat archives for ramda/ramda
This was @paldepind's idea. It's marvellous. With heavy use of partial application, type errors are often caught when evaluating a function's definition (without even applying the function). Pretty neat!
And you implemented and extended the idea. I think adding support for parameterized types was really clever.
if (process.env.NODE_ENV !== 'production')then you can easily disable it in Node. Furthermore if you compile your code for the browser with Webpack or use Envify and a minimizer then the type checking code will be completely taken out of production browser builds.
> Math.max(1,2,3); 3