aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t1711/Seq.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/t1711/Seq.scala')
-rw-r--r--tests/untried/pos/t1711/Seq.scala12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/untried/pos/t1711/Seq.scala b/tests/untried/pos/t1711/Seq.scala
new file mode 100644
index 000000000..c18f05cd7
--- /dev/null
+++ b/tests/untried/pos/t1711/Seq.scala
@@ -0,0 +1,12 @@
+package com
+
+object Sequence {
+
+ def filteringFunction[V](filter: V => Boolean): List[V] => List[V] = {
+ def include(v: V) =
+ filter(v)
+ (l: List[V]) => l.filter(include)
+ }
+
+}
+