[Seaside-dev] FileLibrary filenames

Philippe Marschall philippe.marschall at gmail.com
Wed Oct 31 20:54:37 UTC 2007


2007/10/31, Esteban A. Maringolo <emaringolo at gmail.com>:
> Hello again,
>
> The #filenames method of File libraries answer an IdentitySet

Not on Squeak. There it is a Set.

> which in
> Dolphin answers false for the following expression:
>
> WAFileLibraryDemo new filenames includes: 'main.css'
>
> Can it be changed to answer an Array?

Set sounds semantically correct.

> Is it neccesary?

What?

> The expression:
> WAFileLibraryDemo new documentAt: 'main.css' ifAbsent: [].
> answers the proper document, so if the access is always trough that
> interface, it can remain being an IdentitySet.

IdentitySet is semtancally wrong if it stores Strings.

Cheers
Philippe

> Best regards,
>
> --
> Esteban A. Maringolo
> eMaringolo at gmail.com
> _______________________________________________
> seaside-dev mailing list
> seaside-dev at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
>


More information about the seaside-dev mailing list