package pl.pimielinski.fusta.fuswitch;

import java.util.Optional;

public interface Case<T, R> {

    Optional<R> evaluate(T argument);
}

@@ -130,10 +130,43 @@
 ument);%0A
+    boolean matches(T argument);%0A
 %7D%0A

Switch and SingleCase evaluation