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

5 lines
125 B
Text
Raw Permalink Normal View History

2019-09-12 10:33:56 -07: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 ;