[squeak-dev] The Inbox: ST80-ct.256.mcz
Thiede, Christoph
Christoph.Thiede at student.hpi.uni-potsdam.de
Fri Jun 12 17:48:47 UTC 2020
Marcel explicitly asked for duplicating these lines. However, one single condition would not be bad either, but why would you use #| instead of #or: here? Is this just in order to save one pair of brackets? ;-)
Best,
Christoph
________________________________
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von K K Subbu <kksubbu.ml at gmail.com>
Gesendet: Freitag, 12. Juni 2020 18:45:58
An: squeak-dev at lists.squeakfoundation.org
Betreff: Re: [squeak-dev] The Inbox: ST80-ct.256.mcz
On 12/06/20 1:47 pm, commits at source.squeak.org wrote:
> aSymbol == #appendEntry ifTrue:
> [^ controller doOccluded: [controller appendEntry]].
> + aSymbol == #appendEntryLater ifTrue:
> + [^ controller doOccluded: [controller appendEntry]].
How about
(aSymbol == #appendEntry) | (aSymbol == #appendEntryLater)
ifTrue: [^ controller doOccluded: [controller appendEntry]].
Regards .. Subbu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200612/4de8ee02/attachment.html>
More information about the Squeak-dev
mailing list
|