This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*-----Initial Tests-------------------------*/ | |
| DECLARE E1 CURSOR FOR | |
| SELECT SERIAL.SERIAL,SERIALNAME | |
| FROM SERIAL,SERIALA | |
| WHERE SERIALA.SERIAL = SERIAL.SERIAL | |
| AND SERIALSTATUS IN (2,8,4) | |
| AND EXISTS( | |
| SELECT 'X' FROM TRANSORDER | |
| WHERE TRANSORDER.TYPE = 'B' | |
| AND SERIAL = SERIAL.SERIAL); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var contain = function(arr,val); | |
| var domain = function(arr,coTo,morphisem) { | |
| return function(){ | |
| var values = arr || []; | |
| return { | |
| morph : function(func){ | |
| return domain(values.map(func)); | |
| }, | |
| morphTo : function(domain,morphisem){ | |
| var codomain = values.map(morphisem); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var playFor = function(transformations,val) { | |
| return [val].concat(transformations.map(function(x){ | |
| val = x[1](val); | |
| return val; | |
| })); | |
| }; | |
| pop = function(arr) { | |
| return [arr.slice(0,1)[0],arr.slice(1,arr.length)]; | |
| } |
NewerOlder