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

Style grader: vertical bar location #1

Open
T-Brick opened this issue May 31, 2022 · 0 comments
Open

Style grader: vertical bar location #1

T-Brick opened this issue May 31, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@T-Brick
Copy link
Member

T-Brick commented May 31, 2022

Issue

Some students have the tendency to put the vertical bar on the line before their next case:

fun empty [] = [] |
empty (x::xs) = []

this is borderline a crime against humanity.

Next Steps

Make a style rule for this (just check that when there is a |, that it is not at the end of a line)

λdditional Info

  • Relevant Semester: F21

Successor issue to https://github.com/15-150/15150/issues/1770

@T-Brick T-Brick added the enhancement New feature or request label May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant