Let's see if you really allowed your Lisp(y) knowledge to fade away in midst of those C's and Java's.. Here goes,
If we have following array
Expand|Select|Wrap|Line Numbers
- (setf *possible-die-combinations* (make-array '(20 6)
- :initial-contents
- '((1 3 2 4 5 6)
- (1 2 4 5 3 6)
- (1 4 5 3 2 6)
- (1 5 3 2 4 6)
- (2 3 6 4 1 5)
- (2 6 4 1 3 5)
- (2 4 1 3 6 5)
- (2 1 3 6 4 5)
- (3 5 6 2 1 4)
- (3 6 2 1 5 4)
- (3 2 1 5 6 4)
- (3 1 5 6 2 4)
- (4 6 5 1 2 3)
- (4 5 1 2 6 3)
- (4 1 2 6 5 3)
- (4 2 6 5 1 3)
- (5 3 1 4 6 2)
- (5 1 4 6 3 2)
- (5 4 6 3 1 2)
- (5 6 3 1 4 2))))
Now I want to retrieve a specific row based on this given combination of first and second element. How do I do it?