<div class="ExampleText" id="30600" style="font-family:Verdana,Arial,Helvetica,sans-serif;margin-top:10px;margin-bottom:0px!important;margin-left:20px;padding-top:2px;line-height:15px;background-color:rgb(255,255,255)">Again, trying to mimic something available in Mathematica (Tuples - Wolfram Mathematica 8 Documentation <a href="http://bit.ly/AgsIym">http://bit.ly/AgsIym</a>).</div>
<div class="ExampleText" id="30600" style="font-family:Verdana,Arial,Helvetica,sans-serif;margin-top:10px;margin-bottom:0px!important;margin-left:20px;padding-top:2px;line-height:15px;background-color:rgb(255,255,255)">How can this be accomplished in Racket? Here&#39;s an example from the Mathematica documentation.</div>
<div class="ExampleText" id="30600" style="font-family:Verdana,Arial,Helvetica,sans-serif;margin-top:10px;margin-bottom:0px!important;margin-left:20px;padding-top:2px;line-height:15px;background-color:rgb(255,255,255)">All possible 3-tuples of <span class="IF" style="font-family:Courier,monospace,&#39;Courier New&#39;!important;word-spacing:-0.25em"><img src="http://reference.wolfram.com/mathematica/ref/Files/Tuples.en/13.gif" height="14" width="7" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; vertical-align: middle; padding-bottom: 1px; "></span> and <span class="IF" style="font-family:Courier,monospace,&#39;Courier New&#39;!important;word-spacing:-0.25em"><img src="http://reference.wolfram.com/mathematica/ref/Files/Tuples.en/14.gif" height="14" width="7" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; vertical-align: middle; padding-bottom: 1px; "></span>:</div>
<a name="23498" style="outline-style:none;outline-width:initial;outline-color:initial;font-family:Verdana,Geneva,Arial,sans-serif;line-height:15px;background-color:rgb(255,255,255)"></a><a name="647257171" style="outline-style:none;outline-width:initial;outline-color:initial;font-family:Verdana,Geneva,Arial,sans-serif;line-height:15px;background-color:rgb(255,255,255)"></a><div class="IO" style="font-family:Verdana,Geneva,Arial,sans-serif;line-height:15px;background-color:rgb(255,255,255)">