Issue returning ParseError
Hello There … I am just trying to return a
So the resulting / inferred error type is
ParseResult, but it wont compile as I expect. I have this function:So the resulting / inferred error type is
Foo. Looking at ParseResult.succeed I find: export const succeed: <A>(a: A) => Either.Either<ParseIssue, A>, so how could that be? What am I doing wrong here??