You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we allow empty let expressions (ones with no declarations), as well as nested let expressions (similarly for local declarations). For instance,
val _ =
letin150endval _ =
letval x = 50inletval y = 100in
x + y
endend
Is there any reason we should allow this? Should we even bother creating rules for these? I know anecdotally some students have said that they didn't know you could put multiple declarations in a let expression, maybe having a style rule like that would help?
Issue
Currently, we allow empty let expressions (ones with no declarations), as well as nested let expressions (similarly for local declarations). For instance,
Is there any reason we should allow this? Should we even bother creating rules for these? I know anecdotally some students have said that they didn't know you could put multiple declarations in a let expression, maybe having a style rule like that would help?
Next Steps
λdditional Info
Successor issue to https://github.com/15-150/15150/issues/1744
The text was updated successfully, but these errors were encountered: