-
We should all create great bios in this project. Make sure your bio includes:
```
- [ ] Your name
- [ ] Where you are from
- [ ] A favorite food
- [ ] A hobby
```
-
After I undo a few time, and undo list will have the undo list, the actions that i undo is marked redo, and I undo till that action, then the command I undid is gone. It may because your UG does not e…
-
**为何钟爱一等公民?**
一个函数被不必要地包裹起来了,而且发生了改动,那么包裹它的那个函数也要做相应的变更。
```
httpGet('/post/2', function(json){
return renderPost(json);
});
```
如果 httpGet 要改成可以抛出一个可能出现的 err 异常,那我们还要回过头去把“胶水”函数也改了。
/…
-
Making a Pushbutton with and `&`
```go
PushButton{Text: "Curry & Banana"}
```
will result in interpreting as the prefix to a shortcut key by default.
https://stackoverflow.com/a/43809221/2…
-
维基百科上说道:柯里化是把接受多个参数的函数变换成接受一个单一参数(最初函数的第一个参数)的函数,并且返回接受余下的参数而且返回结果的新函数的技术。概念有点难理解,先看以下例子:
```
// 普通的add函数
function add(x, y) {
return x + y;
}
// Currying后
function curryingAdd(x) {
re…
-
## What
Oftentimes, you may add a curried argument to a function after the fact, or called a curried function and simply forgot the last argument. All callsites will break (correct) but the error is …
-
执行operator的时候如果最后不是以()结尾(如operator (1)(2)),则这个结果会一直缓存到闭包里。如果下次直接operator (3)(4)的话结果是10.因为他会累加之前的结果。如果你不想这样,那可以通过加()消费缓存的结果
```
operator (1)(2)(3) => f(x)...;
operator (1)(2)(3)() => 6;
```
-
-
I would like to support high-order functions, i.e., `fold(&max, xs)`. The `&` operator can be used to get the address of the function. It should only work on functions and not methods.
-
#### Issue type:
- :bug: Bug
____
#### Short description:
I had trouble picking a title that didn't basically say, "flip works as expected". As far as the type system exposed by ID is …