[squeak-dev] Question about #caseOf:otherwise:
Jecel Assumpcao Jr.
jecel at merlintec.com
Thu Aug 15 18:52:15 UTC 2019
Jakob Reschke wrote on Thu, 15 Aug 2019 12:08:56 +0200
> Am Do., 15. Aug. 2019 um 11:20 Uhr schrieb Thiede, Christoph:
>
> 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
Or, closer to home, the fat right arrow in Smalltalk-72.
Here is a 10 page overview of Smalltalk-72:
> http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.106.9352&rep=rep1&type=pdf
and the complete 137 page instruction manual:
> https://pdfs.semanticscholar.org/442f/0f5205c7d4674612204ecc8357367dabbf45.pdf
-- Jecel
More information about the Squeak-dev
mailing list
|