package net.ciklum.icfpc11.domain.greenspoon10 /** * blabla * @author vic */ @Typed final class KCombinator extends CurriedFunction { KCombinator() { super(new KCombinatorMultiarg(), 2, []) } private final static class KCombinatorMultiarg implements MultiArgFunction { Function evaluate(List args) { def x = args[0] def y = args[1] return x } String toString() { "K" } } }