-
**What is the bug?**
Curry should have different effects depending on the quality, but some don't work.
- The pokemon is only healed by 1 HP instead of 25%, 50% or 100% of its max HP (tested with al…
-
Hello guys! Really enjoy what you are doing.
In Haskell every function is curried. Probably you should transform existing functions to support currying? (And in es6 it looks nice))
My implementati…
-
sezna updated
2 months ago
-
Hey Charles, long time no talk :D
I was jazzed about the functional programming stuff we had done together so I made a useful package [here](https://www.npmjs.com/package/@teleology/fp) that I've b…
-
One of the goals for Roy is to ensure the JavaScript output should easily be used from plain JavaScript (and hopefully other languages).
Here we want `f` to be a curried function:
```
let f a b = a …
-
I tried this code for function currying
``` python
from fn.func import curried
@curried
def sum5(a, b, c, d, e):
return a + b + c + d + e
sum5(1)(2)(3)(4)(5)
15
sum5(1, 2, 3)(4, 5)
15
```
but w…
-
![butter_chicken](https://cloud.githubusercontent.com/assets/16376974/11922438/f2b60088-a7bc-11e5-9598-3eb18bd77cd2.jpg)
![butter_masala_chicken](https://cloud.githubusercontent.com/assets/16376974/11…
-
The tall style formatter does not halt when trying to format this code snippet:
```dart
typedef Map1 = R Function(T1 arg1);
typedef Map8 = R Function(
T1 arg1, T2 arg2, T3 arg3, T4 arg4, T…
-
https://youtu.be/vDS9JZfEnuY
-
p286) 고차함수 - 함수를 반환하는 함수
```js
function makeAdder(n){
return function(x){
return n + x
}
}
makeAdder(1)(3) // 4
```
`함수를 반환하는 함수`로 볼 수도 있고 `커링`이라고 볼 수도 있는 것 같다!
책에는 직접적으로 `커링…