Skip to content
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

Typo in rule on static semantics of datatype binding #3

Open
pqnelson opened this issue Aug 6, 2024 · 0 comments
Open

Typo in rule on static semantics of datatype binding #3

pqnelson opened this issue Aug 6, 2024 · 0 comments

Comments

@pqnelson
Copy link

pqnelson commented Aug 6, 2024

There's a small typo in the rule describing the static semantics of datatype binding, lines 1004-1005 of statcor.tex, the conclusion of the rule reads:

      \begin{array}{l}
        \C\ts\newlongdatbind\ra\\
        \qquad(\cl{}{\VE}\langle +\ \VE'\rangle,\ % this is the problematic line!
        \{\tycon\mapsto(\t,\cl{}{\VE})\}\ \langle +\ \TE'\rangle
      \end{array}

But there is no closing parentheses matching the parentheses starting on line 1004 \qquad(\cl{} --- I am assuming that it should be:

      \begin{array}{l}
        \C\ts\newlongdatbind\ra\\
        \qquad(\cl{}{\VE}\langle +\ \VE'\rangle,\
        \{\tycon\mapsto(\t,\cl{}{\VE})\}\ \langle +\ \TE'\rangle) % diff, add right paren here?
      \end{array}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant