[squeak-dev] Question about #caseOf:otherwise:
Jakob Reschke
forums.jakob at resfarm.de
Thu Aug 15 10:08:56 UTC 2019
Am Do., 15. Aug. 2019 um 11:20 Uhr schrieb Thiede, Christoph <
Christoph.Thiede at student.hpi.uni-potsdam.de>:
> true caseOf: {
>
> [aNumber isEven] -> ['That is an even number.'].
>
> [aNumber isOdd] -> ['That is an odd number.'].
>
> }.
>
Lisp cond? ;-)
http://clhs.lisp.se/Body/m_cond.htm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20190815/47c848db/attachment.html>
More information about the Squeak-dev
mailing list
|