Changeset 6867 for lang/scala
- Timestamp:
- 02/18/08 19:15:34 (10 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/scala/sandbox/src/jp/gr/java_conf/mizu/util/Control.scala
r6674 r6867 87 87 def break = throw new NonLocalEscape 88 88 89 def let[A, B](arg :A)(f :(A => B, A) => B) :B = { 90 def fix(f:(A => B, A) => B)(x1 :A) :B = { 91 f({x2:A => fix(f)(x2)}, x1) 92 } 93 fix(f)(arg) 94 } 95 89 96 //Usage 90 97 def main(args: Array[String]) {
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)