RosettaCodeData/Task/Integer-comparison/Retro/integer-comparison.retro
2019-09-12 10:33:56 -07:00

4 lines
125 B
Text

:example (ab-)
dup-pair gt? [ 'A>B s:put nl ] if
dup-pair lt? [ 'A<B s:put nl ] if
eq? [ 'A=B s:put nl ] if ;