purpleclay/chomp

[Feature]: support mapping the output of a combinator to any other type

Closed this issue · 0 comments

Describe your feature

Provide a Map function that can take the output of a chomp.Combinator and map it in any type the caller requires. This should leverage the any type within Go to ensure the caller explicitly defines the mapped type.

Any additional information?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct