Open KeenWill opened 3 years ago
I'd prefer if the style checker did not flag [x] @ xs and tell students to rewrite as x :: xs.
I like to present inorder as (inorder rt) @ [x] @ (inorder rt)
to emphasize the symmetry and connection to the other traversals
Whoops I had a typo in my comment. It's been updated to say that something of the form list @ [element] @ list
is good style that we don't want the style checker to flag (which it currently does).
Styler checker flags
(list_of_set lt) @ x @ (list_of_set rt)
asThis is good style though ... Let's keep the style checker from flagging uses of @ lines like this.