blob: cfd92b225ca0bd70c6a8765d10b575471b28cd55 [file] [log] [blame]
// RUNNABLE_PHOBOS_TEST
import std.stdio;
import std.algorithm;
void test1()
{
int[] a = [1,2,3,4,5];
writeln( remove!("a < 3")(a) );
}
void test2()
{
auto arr = [1,2,3,4,5];
auto m = map!"a + 1"(filter!"a < 4"(arr));
}
void main()
{
test1();
test2();
writeln("Success");
}