-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A dumb question! #3
Comments
Sorry, it's not really clear what you're asking, and this project isn't intended to be a Scalaz introduction (it's only indirectly Scalaz-related at all). |
Sorry if my question was not clear enough, I simply wanted to know what is the second part of code because I didn't understand it. val sentenceSplitter = whenElt[String](_.startsWith("(")).keepDelimsL.split
def parseFile(file: String): Process[Task, Tree[String]] =
io.linesR(file)
.pipe(sentenceSplitter)
.map(_.mkString)
.filter(_.nonEmpty).evalMap(parseWith(new SentenceParser(_))) |
Okay, sure—I'd be happy to add a few sentences explaining what's going on there. Reopening this issue… |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't know anything about Scalaz (it's really hard to look at it!). I was looking at S-expression parser which is nice, but I didn't understand
This parser accepts individual sentences, but we want to perform streaming processing on thousands of files, each of which may contain many sentences.
and then all other scalaz stuff. Is it possible to make it clearer for me?The text was updated successfully, but these errors were encountered: