Hash join: Difference between revisions
m
→{{header|TXR}}: Drop @(do ...)
No edit summary |
m (→{{header|TXR}}: Drop @(do ...)) |
||
Line 1,737:
Generic hash join. Arguments <code>left-key</code> and <code>right-key</code> are functions applied to the elements of the <code>left</code> and <code>right</code> sequences to retrieve the join key.
▲ (defvar age-name '((27 Jonah)
▲ (28 Alan)))
{{out}}
<pre>$ txr hash-join.
(((27 Jonah) (Jonah Whales)) ((27 Jonah) (Jonah Spiders)) ((18 Alan) (Alan Ghosts)) ((28 Alan) (Alan Ghosts)) ((18 Alan) (Alan Zombies)) ((28 Alan) (Alan Zombies)) ((28 Glory) (Glory Buffy)))</pre>
|