RosettaCodeData/Task/Integer-comparison/Retro/integer-comparison.retro

5 lines
125 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
: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 ;