diff --git a/resources/bytecode/javFiles/PaternMatchingHaskellStyle.jav b/resources/bytecode/javFiles/PaternMatchingHaskellStyle.jav index c3c58171..5d9cff2e 100644 --- a/resources/bytecode/javFiles/PaternMatchingHaskellStyle.jav +++ b/resources/bytecode/javFiles/PaternMatchingHaskellStyle.jav @@ -1,3 +1,6 @@ +sealed interface List permits LinkedElem, Elem {} + +public record LinkedElem(T a, List l) implements List {} public record Elem(T a) implements List {} public class PaternMatchingHaskellStyle {