Skip to content

Commit

Permalink
Fixed some more typos
Browse files Browse the repository at this point in the history
  • Loading branch information
routis committed Jan 5, 2024
1 parent 568ecb2 commit 32c5c70
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package com.sksamuel.tribune.core
import arrow.core.*

/**
* A [Parser] is a function I => [EitherNel] that parses the input I, returing either
* A [Parser] is a function I => [EitherNel] that parses the input I, returning either
* an output O or error E.
*
* It is implemented as an interface to allow for variance on the type parameters.
Expand All @@ -21,7 +21,7 @@ fun interface Parser<in I, out O, out E> {
*
* Eg:
*
* Parser<String>() will return an identity parser that simply returns any intput string.
* Parser<String>() will return an identity parser that simply returns any input string.
*/
operator fun <I> invoke(): Parser<I, I, Nothing> = Parser { it.right() }

Expand Down

0 comments on commit 32c5c70

Please sign in to comment.