Packages

p

cats

parse

package parse

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. sealed abstract class Parser[+A] extends AnyRef

    Following the haskell library trifecta, these parsers either parse successfully, parse 0 and fail, or parse more than 1 and fail.

    Following the haskell library trifecta, these parsers either parse successfully, parse 0 and fail, or parse more than 1 and fail. The "or" operation only works for parsing 0 and failing.

    We call a failure without parsing anything an epsilon failure.

    We can convert a failure after parsing more than one to a zero parse with .backtrack. Related to backtracking is softProduct, which if the second failure is an espilon failure, yields an epsilon failure for the product.

    Parses 0 or more characters to return A

  2. sealed abstract class Parser1[+A] extends Parser[A]

    Parses 1 or more characters if it succeeds to return A

  3. abstract class ParserInstances extends AnyRef

Value Members

  1. object BitSetUtil
  2. object Numbers
  3. object Parser extends ParserInstances

Ungrouped