On Thu, Jul 05, 2007 at 04:28:49PM -0700, Blake wrote:
> I was reading Stephen Wessals morphic tutorial and came across this:
>
> self activeSegments values anySatisfy: [:each | each = true]
>
> which I thought was odd, and so I first replaced it with:
>
> self activeSegments values anySatisfy: [:each | each = true]
I assume you meant
self activeSegments anySatisfy: [:each | each = true]
> and then just:
>
> self activeSegments includes: true
>
> I think this should be fine since Dictionary's "do" operates on values
> anyway, right?
>
> Or am I missing something?
Sounds right to me
--
Matthew Fulmer --
http://mtfulmer.wordpress.com/Help improve Squeak Documentation:
http://wiki.squeak.org/squeak/808_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners