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
Users take the code of the standard library as exemplary rascal code.
Long time ago we switched the default for functions from private to public, for the sake of usability and brevity. We have never removed the modifier in existing library code.
With more and more new functions being added this starts to become inconsistent and therefore a bit confusing.
Let's add private where it was forgotten and remove public where it's unnecessary; everywhere in the stdlib.
Typically something to do after merging rascal-core back into rascal.
The text was updated successfully, but these errors were encountered:
Users take the code of the standard library as exemplary rascal code.
Long time ago we switched the default for functions from private to public, for the sake of usability and brevity. We have never removed the modifier in existing library code.
With more and more new functions being added this starts to become inconsistent and therefore a bit confusing.
Let's add
private
where it was forgotten and removepublic
where it's unnecessary; everywhere in the stdlib.Typically something to do after merging rascal-core back into rascal.
The text was updated successfully, but these errors were encountered: