Walk a directory/Recursively: Difference between revisions
Content added Content deleted
m (use {{out}} template) |
m (→{{header|Scala}}: Make critical note clearer) |
||
Line 1,353: | Line 1,353: | ||
=={{header|Scala}}== |
=={{header|Scala}}== |
||
NOTE: As of 2011-11-20 this example does not actually work on Scala 2.8.1 or 2.9.1. |
{{alertbox|#ffffe0|NOTE: As of 2011-11-20 this example does not actually work on Scala 2.8.1 or 2.9.1. [http://stackoverflow.com/questions/3444748/porting-new-iterable-code-from-scala-2-7-7-to-2-8 More information…]}} |
||
@SEE: http://stackoverflow.com/questions/3444748/porting-new-iterable-code-from-scala-2-7-7-to-2-8 |
|||
This is not implemented in the Scala library. Here is a possible solution, building on [[Java]] class ''<code>java.io.File</code>'' and on scala language and library iteration facilities: |
This is not implemented in the Scala library. Here is a possible solution, building on [[Java]] class ''<code>java.io.File</code>'' and on scala language and library iteration facilities: |