-
... equire('ws'); const ws = new WebSocket('ws://www.host.com/path'); ws.on('open', function open() { ws.send('something'); }); ws.on('message', function incoming(data) { console.log(data); }); ``` ### Sending binary data ```js const WebSocket ...
-
... op1 { var f = {|x| x}; this.assert(f.curried === f, "Currying a single variable function returns the same function") } test_CurryingProp2 { var f = {|x,y| x+y}; var a = (1..100) >>= { |x| (1..100) >>= { |y| [f.(x,y)] } }; var b = (1..100) > ...
-
... r choose make use do keysValuesDo sortedKeysValuesDo putAll keysValuesArrayDo doFunctionPerform keys values findKeyForValue know doesNotUnderstand Networking and forwarding assignment localPut localRemoveAt Inherited instance methods Undocu ...
-
... itAction, labelWidth, layout, gap) Building and Changing the List globalAction_(function) globalAction a Global function to be performed in addition to the item functions: {arg listObj; value}. items items_ (assocArray) assocArray - An Arra ...
-
... pattern Ex.3a: lookBack indices given as array Ex.3b: lookBack indices given as Function Ex.3c: lookBack indices given as Pattern Ex.4a: loopFunc given as Function Ex.4b: loopFunc given as Pattern Ex.4c: loopFunc vs. goFunc Ex.4d: Turning l ...
-
... : // collect, select, reject should iterate over the objects keysValuesDo { arg function; this.keysValuesArrayDo(array, { |key, val, i| val.do { |el, j| function.(key, el, i, j) } }) } prKeysValuesDo { this.keysValuesArrayDo(array, { |key, ...
-
... r equal to) Boolean && Boolean logical And Boolean || Boolean logical Or When a function is the second operand, these operators perform short-circuiting (i.e., the function is executed only when its result would influence the result of the ...
-
... ods lag lag2 lag3 lagud lag2ud lag3ud slew varlag misc isValidUGenInput Special Functions Number Series bernouliB2n tangentT2n Gamma Functions tgamma tgamma1pm1 lgamma digamma trigamma polygamma tgammaRatio tgammaDeltaRatio gammaP gammaQ tg ...
-
... equire('ws'); const ws = new WebSocket('ws://www.host.com/path'); ws.on('open', function open() { ws.send('something'); }); ws.on('message', function incoming(data) { console.log(data); }); ``` ### Sending binary data ```js const WebSocket ...
-
( var functions = (); // make a dictionary of functions var recSynth, recBufs, counter = 0, recording = false; var path = "~/tidalchunks/"; var whichOrbit = ~dirt.orbits[0]; var maxTime = 4; // allow a maximum of four seconds, adjust to you ...