RosettaCodeData/Task/Integer-comparison/J/integer-comparison-1.j

8 lines
171 B
Text
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
compare=: < , = , >
cti=: dyad define
select =. ;@#
English =. ' is less than ';' is equal to ';' is greater than '
x (":@[, (compare select English"_), ":@]) y
)