Skip to content
Snippets Groups Projects
Commit a3a9bc4c authored by Per Hedbor's avatar Per Hedbor
Browse files

Slightly more strict type for Function.curry.

This one really could use some type inference
parent 0cb66078
No related branches found
No related tags found
No related merge requests found
...@@ -79,7 +79,7 @@ function Y(function f) ...@@ -79,7 +79,7 @@ function Y(function f)
//! @code //! @code
//! Function.curry(`+)(7) //! Function.curry(`+)(7)
//! @endcode //! @endcode
function curry(function f) function(mixed...:function(mixed...:mixed|void)) curry(function f)
{ {
return lambda(mixed ... args1) { return lambda(mixed ... args1) {
return lambda(mixed ... args2) { return lambda(mixed ... args2) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment