summaryrefslogtreecommitdiff
path: root/test/pos/lambda.scala
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2004-01-19 09:25:20 +0000
committerpaltherr <paltherr@epfl.ch>2004-01-19 09:25:20 +0000
commit1dbc00126bf0e660b0286ac247271549158bcb65 (patch)
treefce1c2b6f71dd879b752edc54289386fb86942e1 /test/pos/lambda.scala
parenta7fc16dfe690cf0f0a7db36596c7e26a8c417f82 (diff)
downloadscala-1dbc00126bf0e660b0286ac247271549158bcb65.tar.gz
scala-1dbc00126bf0e660b0286ac247271549158bcb65.tar.bz2
scala-1dbc00126bf0e660b0286ac247271549158bcb65.zip
- Moved test/pos test/neg and test/new into tes...
- Moved test/pos test/neg and test/new into test/files
Diffstat (limited to 'test/pos/lambda.scala')
-rw-r--r--test/pos/lambda.scala8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/pos/lambda.scala b/test/pos/lambda.scala
deleted file mode 100644
index 187b3f9783..0000000000
--- a/test/pos/lambda.scala
+++ /dev/null
@@ -1,8 +0,0 @@
-object test {
-
- def apply[a,b](f: a => b): a => b = x: a => f(x);
-
- def twice[a](f: a => a): a => a = x: a => f(f(x));
-
- def main = apply[Int,Int](twice[Int](x: Int => x))(1);
-} \ No newline at end of file