UNPKG
@pnpm/ramda
Version:
latest (0.28.1)
0.28.1
A practical functional library for JavaScript programmers.
ramdajs.com
ramda/ramda
@pnpm/ramda
/
src
/
internal
/
_pipeP.js
10 lines
(9 loc)
•
191 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
function
_pipeP
(
f, g
) {
return
function
(
) {
var
ctx =
this
;
return
f.
apply
(ctx,
arguments
).
then
(
function
(
x
) {
return
g.
call
(ctx, x); }); }; }
module
.
exports
= _pipeP;