[squeak-dev] Re: Using Artefact PDF library in Squeak

Levente Uzonyi leves at elte.hu
Tue May 5 13:22:21 UTC 2015


On Mon, 4 May 2015, Stephan Eggermont wrote:

> On 02/05/15 21:40, Levente Uzonyi wrote:
>> <rant>
>> I remember #asDictionary now. This is what happens when you don't want
>> caseOf: and caseOf:otherwise: be in your language:
>>
>>      ^PDFDataSymbol symbol: ({ #singlePage->'SinglePage' .
>> #continuousPages->'OneColumn' . #twoPages->'TwoColumnLeft' }
>> asDictionary at: self displayLayout).
>
> That is ugly, I concur. What concrete action do you propose?

I've rewritten these to #caseOf: statements in my Squeak port[1].

Levente

[1] http://leves.web.elte.hu/squeak/Artefact/

>
> Stephan
>
>
>
>
>


More information about the Squeak-dev mailing list