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
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.
The text was updated successfully, but these errors were encountered:
In
KoanAboutCollectionProtocol
,test04select
includesThis 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
orSmallInteger
as part of the solution finding process is intended, I'm happy to close.The text was updated successfully, but these errors were encountered: