nl_tokens: Given a function and an array of values creates a chain of promises that will sequentially execute func ( args [ i ] ) . Returns a promise .
pl_tokens: function Q_chainmap ( args , func ) { return Promise . resolve ( ) . <mask> ( function ( inValue ) { return args . reduce ( function ( soFar , arg ) { return soFar . then ( function ( val ) { return func ( arg , val ) ; } ) ; } , Promise . resolve ( inValue ) ) ; } ) ; }