Manuscript (Case [Issue]22782) _Inbox - Bag comments deserve executable comments!

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Manuscript (Case [Issue]22782) _Inbox - Bag comments deserve executable comments!

Pharo Issue Tracker
Manuscript Notification
avatar
Stephane Ducasse opened Case 22782: Bag comments deserve executable comments! and assigned it to Everyone:
Bug in Project:  _Inbox: Not Spam  •  You are subscribed to this case
The comments of methods of Bag should be enhanced and use executable comments, i.e.,

sortedCounts
"Answer with a collection of counts with elements, sorted by decreasing
count."

"#(1 2 2 3 1 1 1) asBag sortedCounts >>> {4->1. 2->2. 1->3}"

^(Array new: contents size streamContents: [ :stream |
contents associationsDo: [ :each |
stream nextPut: each value -> each key ] ])
sort: [:x :y | x >= y ];
yourself
Priority Priority: 5 – Fix If Time Status Status: Work Needed
Assigned To Assigned to: Everyone Milestone Milestone: Later

Go to Case
No longer need updates? Unsubscribe from this case.

Don't want Manuscript notifications anymore? Update your preferences.

Manuscript

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
https://lists.gforge.inria.fr/mailman/listinfo/pharo-bugtracker