more rex usage examples
(define variables to avoid re-entry)
rex > x = [3, 9, 1, 2, 8, 7, 5, 6, 4];
1

rex > x;
[3, 9, 1, 2, 8, 7, 5, 6, 4]

rex > sort(x);
[1, 2, 3, 4, 5, 6, 7, 8, 9]

rex > x;
[3, 9, 1, 2, 8, 7, 5, 6, 4]

This 1 means true, the definition was accepted.