/third_party/boost/libs/hana/example/functional/ |
D | curry.cpp | 16 BOOST_HANA_CONSTEXPR_CHECK(hana::curry<3>(add)(1)(2)(3) == 1 + 2 + 3); in main() 17 BOOST_HANA_CONSTEXPR_CHECK(hana::curry<3>(add)(1)(2, 3) == hana::curry<3>(add)(1)(2)(3)); in main() 18 BOOST_HANA_CONSTEXPR_CHECK(hana::curry<3>(add)(1, 2, 3) == hana::curry<3>(add)(1)(2)(3)); in main() 25 BOOST_HANA_CONSTEXPR_CHECK(hana::curry<0>(two)() == two()); in main()
|
/third_party/boost/libs/hana/test/ |
D | functional.cpp | 189 hana::curry<0>(f)(), in main() 194 hana::curry<1>(f)(ct_eq<1>{}), in main() 199 hana::curry<2>(f)(ct_eq<1>{})(ct_eq<2>{}), in main() 203 hana::curry<2>(f)(ct_eq<1>{}, ct_eq<2>{}), in main() 208 hana::curry<3>(f)(ct_eq<1>{})(ct_eq<2>{})(ct_eq<3>{}), in main() 212 hana::curry<3>(f)(ct_eq<1>{})(ct_eq<2>{}, ct_eq<3>{}), in main() 216 hana::curry<3>(f)(ct_eq<1>{}, ct_eq<2>{})(ct_eq<3>{}), in main() 220 hana::curry<3>(f)(ct_eq<1>{}, ct_eq<2>{}, ct_eq<3>{}), in main() 229 hana::curry<0>(hana::curry<0>(f))(), in main() 234 hana::curry<1>(hana::curry<1>(f))(ct_eq<1>{}), in main() [all …]
|
/third_party/typescript/tests/cases/conformance/types/tuple/ |
D | variadicTuples1.ts | 302 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/ |
D | variadicTuples1.js | 300 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 …]
|
D | variadicTuples1.types | 1000 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 …]
|
D | variadicTuples1.symbols | 1011 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 …]
|
D | variadicTuples1.errors.txt | 409 …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 …]
|
D | ramdaToolsNoInfinite.types | 3 // https://medium.freecodecamp.org/typescript-curry-ramda-types-f747e99744ab 4 // https://github.com/pirix-gh/medium/blob/master/types-curry-ramda/src/index.ts
|
D | ramdaToolsNoInfinite.symbols | 3 // 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/boost/libs/hana/include/boost/hana/functional/ |
D | curry.hpp | 88 constexpr auto curry = [](auto&& f) { in __anon387589350102() variable 112 constexpr make_curry_t<n> curry{};
|
/third_party/boost/boost/hana/functional/ |
D | curry.hpp | 88 constexpr auto curry = [](auto&& f) { in __anonc6faef420102() variable 112 constexpr make_curry_t<n> curry{};
|
/third_party/boost/libs/hana/example/ |
D | permutations.cpp | 15 BOOST_HANA_CONSTEXPR_LAMBDA auto is_permutation_of = hana::curry<2>([](auto xs, auto perm) { in __anon765d7d6f0102()
|
/third_party/boost/libs/hana/test/issues/ |
D | github_260.cpp | 21 std::make_tuple(hana::curry<2>(DefaultConstructible{})(DefaultConstructible{})) in main()
|
/third_party/boost/libs/hana/test/_include/laws/ |
D | applicative.hpp | 46 return hana::transform(xs, hana::curry<2>(test::_injection<0>{})); in TestApplicative() 51 return hana::transform(xs, hana::curry<2>(test::_injection<1>{})); in TestApplicative()
|
D | foldable.hpp | 283 auto fp = hana::curry<2>(hana::flip(f)); 323 auto fp = hana::curry<2>(hana::flip(f)); 359 auto fp = hana::curry<2>(f); 401 auto fp = hana::curry<2>(f);
|
/third_party/boost/libs/metaparse/example/meta_hs/ |
D | builder.hpp | 54 boost::mpl::pair<Name, ast::value<BOOST_PP_CAT(curry, n)<F> > > \
|
D | curry.hpp | 93 struct BOOST_PP_CAT(curry, n) : \
|
/third_party/boost/boost/hana/ |
D | ap.hpp | 60 hana::transform(static_cast<F&&>(f), hana::curry<sizeof...(xs)>), in operator ()()
|
D | monadic_fold_left.hpp | 109 hana::curry<3>(hana::partial( in apply()
|
D | monadic_fold_right.hpp | 108 hana::curry<3>(hana::partial( in apply()
|
/third_party/boost/libs/hana/include/boost/hana/ |
D | ap.hpp | 60 hana::transform(static_cast<F&&>(f), hana::curry<sizeof...(xs)>), in operator ()()
|
D | monadic_fold_left.hpp | 109 hana::curry<3>(hana::partial( in apply()
|
D | monadic_fold_right.hpp | 108 hana::curry<3>(hana::partial( in apply()
|
/third_party/typescript/tests/baselines/reference/user/ |
D | lodash.log | 272 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/ |
D | test_inspect.py | 1521 def curry(func, arg1): function 1539 greater_than_five = curry(less_than, 5)
|