Changeset 6681 for lang/scala/sandbox
- Timestamp:
- 02/14/08 20:56:32 (10 months ago)
- Location:
- lang/scala/sandbox
- Files:
-
- 3 modified
-
lib/scala-sandbox.jar (modified) (previous)
-
src/jp/ne/cappuccino/keisuken/scl/lang/Loop.scala (modified) (2 diffs)
-
webpages/lib/scala-sandbox.jar (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
-
lang/scala/sandbox/src/jp/ne/cappuccino/keisuken/scl/lang/Loop.scala
r6680 r6681 30 30 } 31 31 32 def whileEach [A](cond: => Boolean)(p: Break => Unit): Unit = {32 def whileEach(cond: => Boolean)(p: Break => Unit): Unit = { 33 33 val break = new Break() 34 34 while(break.cond && cond) p(break) … … 42 42 } 43 43 44 def doWhileEach [A](cond: => Boolean)(p: Break => Unit): Unit = {44 def doWhileEach(cond: => Boolean)(p: Break => Unit): Unit = { 45 45 val break = new Break() 46 46 do p(break) while(break.cond && cond)
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)