2017-07-24 17:06:56 +04:00
|
|
|
parameter (pair tez tez);
|
|
|
|
return (list bool);
|
|
|
|
storage unit;
|
2017-07-24 14:28:41 +04:00
|
|
|
code {CAR; DUP; DUP; DUP; DUP; DIIIIIP {NIL bool};
|
2017-07-24 17:06:56 +04:00
|
|
|
DIIIIP {DUP; CAR; DIP {CDR}; COMPARE; LE; CONS};
|
|
|
|
DIIIP {DUP; CAR; DIP {CDR}; COMPARE; GE; CONS};
|
|
|
|
DIIP{DUP; CAR; DIP {CDR}; COMPARE; LT; CONS};
|
2017-06-15 01:35:24 +04:00
|
|
|
DIP {DUP; CAR; DIP {CDR}; COMPARE; GT; CONS};
|
2017-07-24 17:06:56 +04:00
|
|
|
DUP; CAR; DIP {CDR}; COMPARE; EQ; CONS;
|
|
|
|
UNIT; SWAP; PAIR};
|