-
## 定义
维基百科中对柯里化 (Currying) 的定义为:
> In mathematics and computer science, currying is the technique of translating the evaluation of a function that takes multiple arguments (or a tuple of argumen…
-
I just attempted to use the curry syntax for an instance method and was surprised by the result:
``` ls
class Dinner
curry: (meat, flavour)-->
@ # global scope
make: ->
add-flavour = @cu…
-
When killing the argument of a meta-variable, when pruning, we should take eta into account and curry the arguments instead of killing everything. In the following example, `Y` should kill its `y` ar…
-
Something like
```
apply () { $2 $1 }
```
-
For this definition
```
def comp3
(A : type)
(b : (j0 j1: 𝕀) → A)
(k0 : [j1 k] A [ k = 0 → b 0 j1])
(l0 : [j1 k] A [ k = 0 → b 1 j1])
(k1 : [j0 k] A [ k = 0 → b j0 0
…
-
![image](https://user-images.githubusercontent.com/7449908/222808400-a854dab8-4b2a-4072-a5a6-bc08026dfdb9.png)
## Ingredients
- 240 grams flank steak
- 1 teaspoon minced ginger
- 1 teaspoon mi…
-
TBC
## Related
- #261
-
When attempting to repair a missing constraint, we end up with curried constraints:
```haskell
foo :: (A, B) => C -> D
bar :: C -> D
bar c = foo c
-- after two repairs, the type of bar is:
-…
-
TBC
-
## Ingredients
- 750g beef, cut into bite-size cubes
- 50ml coconut oil
- 5 clovers
- 2 green cardamom
- 4 star anise segments
- ¼ tsp mustard seeds, optional
- 2 tsp fennel seeds
- 4 red on…