-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
In KoanAboutCollectionProtocol, test04select includes
self assert: {2 . 4 . 6} equals: ({1 . 2 . 3 . 4 . 5 . 6} select: xx)This to me looks like [:aNumber | aNumber \\ 2 = 0] or similar. However, \\ as the modulo operator is rather unusual compared to other programming languages the students might already know (most use %, mod or similar). Maybe a hint regarding the operator could be added?
If looking for the operator in Number or SmallInteger as part of the solution finding process is intended, I'm happy to close.
Metadata
Metadata
Assignees
Labels
No labels