Skip to content

Style grader: vertical bar location #1

@T-Brick

Description

@T-Brick

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions