<div dir="ltr"><font face="courier new, monospace">Hi,</font><div><font face="courier new, monospace"><br></font></div><div style><font face="courier new, monospace">I've found it useful to be able to specify a depth when flattening a list structure. The attached patch adds a :to-depth keyword parameter to the flatten function. For instance, </font></div>
<div style><font face="courier new, monospace"><br></font></div><div style><font face="courier new, monospace">(flatten '((a b) (c (d)) :to-depth 1) => (a b c (d))</font></div><div style><font face="courier new, monospace"><br>
</font></div><div style><font face="courier new, monospace">Is this something that could be added?</font></div><div style><font face="courier new, monospace"><br></font></div><div style><font face="courier new, monospace">Thanks,</font></div>
<div style><font face="courier new, monospace">-Garrett</font></div></div>