main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
475 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | var _curry2 =
|
---|
| 2 | /*#__PURE__*/
|
---|
| 3 | require("./internal/_curry2.js");
|
---|
| 4 | /**
|
---|
| 5 | * Takes two arguments, `fst` and `snd`, and returns `[fst, snd]`.
|
---|
| 6 | *
|
---|
| 7 | * @func
|
---|
| 8 | * @memberOf R
|
---|
| 9 | * @since v0.18.0
|
---|
| 10 | * @category List
|
---|
| 11 | * @sig a -> b -> (a,b)
|
---|
| 12 | * @param {*} fst
|
---|
| 13 | * @param {*} snd
|
---|
| 14 | * @return {Array}
|
---|
| 15 | * @see R.objOf, R.of
|
---|
| 16 | * @example
|
---|
| 17 | *
|
---|
| 18 | * R.pair('foo', 'bar'); //=> ['foo', 'bar']
|
---|
| 19 | */
|
---|
| 20 |
|
---|
| 21 |
|
---|
| 22 | var pair =
|
---|
| 23 | /*#__PURE__*/
|
---|
| 24 | _curry2(function pair(fst, snd) {
|
---|
| 25 | return [fst, snd];
|
---|
| 26 | });
|
---|
| 27 |
|
---|
| 28 | module.exports = pair; |
---|
Note:
See
TracBrowser
for help on using the repository browser.