Home
last modified time | relevance | path

Searched refs:curry (Results 1 – 11 of 11) sorted by relevance

/third_party/typescript/tests/cases/conformance/types/tuple/
DvariadicTuples1.ts302 function curry<T extends unknown[], U extends unknown[], R>(f: (...args: [...T, ...U]) => R, ...a: … function
308 const c0 = curry(fn1); // (a: number, b: string, c: boolean, d: string[]) => number
309 const c1 = curry(fn1, 1); // (b: string, c: boolean, d: string[]) => number
310 const c2 = curry(fn1, 1, 'abc'); // (c: boolean, d: string[]) => number
311 const c3 = curry(fn1, 1, 'abc', true); // (d: string[]) => number
312 const c4 = curry(fn1, 1, 'abc', true, ['x', 'y']); // () => number
316 const c10 = curry(fn2); // (x: number, b: boolean, ...args: string[]) => number
317 const c11 = curry(fn2, 1); // (b: boolean, ...args: string[]) => number
318 const c12 = curry(fn2, 1, true); // (...args: string[]) => number
319 const c13 = curry(fn2, 1, true, 'abc', 'def'); // (...args: string[]) => number
[all …]
/third_party/typescript/tests/baselines/reference/
DvariadicTuples1.js300 function curry<T extends unknown[], U extends unknown[], R>(f: (...args: [...T, ...U]) => R, ...a: …
306 const c0 = curry(fn1); // (a: number, b: string, c: boolean, d: string[]) => number
307 const c1 = curry(fn1, 1); // (b: string, c: boolean, d: string[]) => number
308 const c2 = curry(fn1, 1, 'abc'); // (c: boolean, d: string[]) => number
309 const c3 = curry(fn1, 1, 'abc', true); // (d: string[]) => number
310 const c4 = curry(fn1, 1, 'abc', true, ['x', 'y']); // () => number
314 const c10 = curry(fn2); // (x: number, b: boolean, ...args: string[]) => number
315 const c11 = curry(fn2, 1); // (b: boolean, ...args: string[]) => number
316 const c12 = curry(fn2, 1, true); // (...args: string[]) => number
317 const c13 = curry(fn2, 1, true, 'abc', 'def'); // (...args: string[]) => number
[all …]
DvariadicTuples1.types1000 function curry<T extends unknown[], U extends unknown[], R>(f: (...args: [...T, ...U]) => R, ...a: …
1001 >curry : <T extends unknown[], U extends unknown[], R>(f: (...args: [...T, ...U]) => R, ...a: T) =>…
1026 const c0 = curry(fn1); // (a: number, b: string, c: boolean, d: string[]) => number
1028 >curry(fn1) : (a: number, b: string, c: boolean, d: string[]) => number
1029 >curry : <T extends unknown[], U extends unknown[], R>(f: (...args: [...T, ...U]) => R, ...a: T) =>…
1032 const c1 = curry(fn1, 1); // (b: string, c: boolean, d: string[]) => number
1034 >curry(fn1, 1) : (b: string, c: boolean, d: string[]) => number
1035 >curry : <T extends unknown[], U extends unknown[], R>(f: (...args: [...T, ...U]) => R, ...a: T) =>…
1039 const c2 = curry(fn1, 1, 'abc'); // (c: boolean, d: string[]) => number
1041 >curry(fn1, 1, 'abc') : (c: boolean, d: string[]) => number
[all …]
DvariadicTuples1.symbols1011 function curry<T extends unknown[], U extends unknown[], R>(f: (...args: [...T, ...U]) => R, ...a: …
1012 >curry : Symbol(curry, Decl(variadicTuples1.ts, 294, 33))
1039 const c0 = curry(fn1); // (a: number, b: string, c: boolean, d: string[]) => number
1041 >curry : Symbol(curry, Decl(variadicTuples1.ts, 294, 33))
1044 const c1 = curry(fn1, 1); // (b: string, c: boolean, d: string[]) => number
1046 >curry : Symbol(curry, Decl(variadicTuples1.ts, 294, 33))
1049 const c2 = curry(fn1, 1, 'abc'); // (c: boolean, d: string[]) => number
1051 >curry : Symbol(curry, Decl(variadicTuples1.ts, 294, 33))
1054 const c3 = curry(fn1, 1, 'abc', true); // (d: string[]) => number
1056 >curry : Symbol(curry, Decl(variadicTuples1.ts, 294, 33))
[all …]
DvariadicTuples1.errors.txt409 …function curry<T extends unknown[], U extends unknown[], R>(f: (...args: [...T, ...U]) => R, ...a:…
415 const c0 = curry(fn1); // (a: number, b: string, c: boolean, d: string[]) => number
416 const c1 = curry(fn1, 1); // (b: string, c: boolean, d: string[]) => number
417 const c2 = curry(fn1, 1, 'abc'); // (c: boolean, d: string[]) => number
418 const c3 = curry(fn1, 1, 'abc', true); // (d: string[]) => number
419 const c4 = curry(fn1, 1, 'abc', true, ['x', 'y']); // () => number
423 const c10 = curry(fn2); // (x: number, b: boolean, ...args: string[]) => number
424 const c11 = curry(fn2, 1); // (b: boolean, ...args: string[]) => number
425 const c12 = curry(fn2, 1, true); // (...args: string[]) => number
426 const c13 = curry(fn2, 1, true, 'abc', 'def'); // (...args: string[]) => number
[all …]
DramdaToolsNoInfinite.types3 // https://medium.freecodecamp.org/typescript-curry-ramda-types-f747e99744ab
4 // https://github.com/pirix-gh/medium/blob/master/types-curry-ramda/src/index.ts
DramdaToolsNoInfinite.symbols3 // https://medium.freecodecamp.org/typescript-curry-ramda-types-f747e99744ab
4 // https://github.com/pirix-gh/medium/blob/master/types-curry-ramda/src/index.ts
/third_party/typescript/tests/baselines/reference/user/
Dlodash.log272 node_modules/lodash/curry.js(47,29): error TS1016: A required parameter cannot follow an optional p…
273 node_modules/lodash/curry.js(50,10): error TS2339: Property 'placeholder' does not exist on type 'F…
307 …tion' has no properties in common with type '{ cap?: boolean | undefined; curry?: boolean | undefi…
311 …' does not exist on type 'Function | { ary: any; assign: any; clone: any; curry: any; forEach: any…
313 …' does not exist on type 'Function | { ary: any; assign: any; clone: any; curry: any; forEach: any…
315 …' does not exist on type 'Function | { ary: any; assign: any; clone: any; curry: any; forEach: any…
317 …(186,23): error TS2339: Property 'curry' does not exist on type 'Function | { ary: any; assign: an…
318 Property 'curry' does not exist on type 'Function'.
319 …' does not exist on type 'Function | { ary: any; assign: any; clone: any; curry: any; forEach: any…
321 …' does not exist on type 'Function | { ary: any; assign: any; clone: any; curry: any; forEach: any…
[all …]
/third_party/python/Lib/test/
Dtest_inspect.py1521 def curry(func, arg1): function
1539 greater_than_five = curry(less_than, 5)
/third_party/icu/icu4c/source/test/testdata/
Demoji-test.txt2338 1F35B ; fully-qualified # �� curry rice
/third_party/icu/icu4j/main/shared/data/
DTransliterator_Han_Latin_Definition.txt4850 䂒 < short\-to\-curry\-favor;
39273 䂒 > short\-to\-curry\-favor;