haskell / haskell/parsec

Parsec.Expr Example Broken?

Open
#38 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
892
Forks
99
PR merge metrics
No merged PRs in 30d

Description

Hi!

I'm a wee baby Haskell programmer, but I noticed that the example at the bottom here:

https://hackage.haskell.org/package/parsec-3.1.9/docs/Text-Parsec-Expr.html

Doesn't seem to type check. I don't think the types of parens / reservedOp are agreeing here. Perhaps they changed?

https://hackage.haskell.org/package/parsec-3.1.9/docs/Text-Parsec-Token.html#v:reservedOp

Perhaps the example needs an update, or more clarification?

Thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.