@@ -0,0 +1,473 @@
+package com.example.playground.monadic.parser.combinators;%0A%0Aimport lombok.Getter;%0Aimport lombok.RequiredArgsConstructor;%0A%0Aimport java.util.stream.BaseStream;%0A%0A@Getter%0A@RequiredArgsConstructor%0Aclass ParserResult%3CT, I, S extends BaseStream%3CI, S%3E%3E %7B%0A    private final T result;%0A    private final S stream;%0A%0A    public static %3CT, I, S extends BaseStream%3CI, S%3E%3E ParserResult%3CT, I, S%3E parserResult(T result, S stream) %7B%0A        return new ParserResult%3C%3E(result, stream);%0A    %7D%0A%7D%0A

Add parser result class