Type alias Parser<A>

Parser<A>: Parser.Parser<A, never, Problem>

A Parser helps turn a string into nicely structured data. For example, we can run the int parser to turn a string into a number:

 run(int)("123456") // => Ok 123456
run(int)("3.1415") // => Err ...

The cool thing is that you can combine Parser values to handle much more complex scenarios.

Type Parameters

  • A