RosettaCodeData/Task/Integer-comparison/Retro/integer-comparison.retro
2023-07-01 13:44:08 -04: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 ;