UNPKG

wonka

Version:

A fast push & pull stream library for Reason, loosely following the [callbag spec](https://github.com/callbag/callbag)

12 lines (9 loc) 176 B
export function pipe(source) { const args = arguments; const len = args.length; let x = source; for (let i = 1; i < len; i++) { x = args[i](x); } return x; }