nl_tokens: Takes a function with args and returns a curried version of it
pl_tokens: function curry ( fn ) { return function resolver ( ) { for ( var _len = arguments . length , resolverArgs = Array ( _len ) , _key = 0 ; _key < _len ; _key ++ ) { resolverArgs [ _key ] = arguments [ _key ] ; } return function ( ) { for ( var _len2 = arguments . length , args = Array ( _len2 ) , _key2 = 0 ; _key2 < _len2 ; _key2 ++ ) { args [ _key2 ] = arguments [ _key2 ] ; } var nextArgs = resolverArgs . concat ( args . length ? args : null ) ; var next = nextArgs . length >= fn . length ? fn : resolver ; return <mask> . apply ( undefined , toConsumableArray ( nextArgs ) ) ; } ; } ( ) ; }