view src/test/java/test.java @ 110:cf17350a2415

traverse find args change Query
author one
date Sat, 13 Sep 2014 19:23:31 +0900
parents
children
line wrap: on
line source


import fj.*;
import fj.data.List;

public class test {
	public static void main(String _args[]) {
		List<Integer> test = List.nil();
		test = test.snoc(0);
		test = test.snoc(1);
		test = test.snoc(2);
		test = test.snoc(3);
		test = test.snoc(4);
		test.reverse();
		P2<List<Integer>,List<Integer>> split = test.splitAt(3);
		test = split._1();
		test = test.tail();
		System.out.println("www");
	}
}