[Seaside-dev] Issue with subStrings:
John O'Keefe
wembley.instantiations at gmail.com
Fri Oct 31 12:08:44 UTC 2008
Open mouth, insert foot!!!
> subStrings: is available on VA Smalltalk. AFAIK it conforms to the ANSI
spec.
subStrings: in VA Smalltalk takes a single character as an argument, not a
collection of characters. I guess I'll double-check before I open my mouth
next time :-)
I also checked Dolphin and their implementation matches VA Smalltalk -- it
takes a single charactor parameter.
However, having discovered this anomoly, I will change our implementation to
take either a single character or a collection of characters to maintain our
claim of conforming to the ANSI spec.
As far as running the ANSI Test Suite, I don't think such a thing really
exists. The one created as a CampSmalltalk project is incomplete and has no
home or owner (the SourceForge project that claims to hold the code actually
has only the base SUnit code) -- the only way I know to get it is to contact
someone who got it from someone else .... The version I have only contains
stubs for the subStrings: tests.
John O'Keefe [|], Principal Smalltalk Architect, Instantiations Inc.
On Fri, Oct 31, 2008 at 2:51 AM, Gerhard Obermann <obi068 at gmail.com> wrote:
> Hi!
>
> I am currently using the method "subStrings:" in Seaside 2.9.
> This seems to be a little problem,
> because the semantics on Squeak and GemStone are different.
> And AFAIK its not available on other platforms (VW) by default.
>
> Which are the options:
>
> - Change Squeak or GemStone semantics
> => Probably not !
> - Define new Seaside specific subStrings: method
> - Rewrite those methods to avoid using subStrings:
> ...
>
> Any other ideas
>
> Cheers
> Gerhard
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> seaside-dev mailing list
> seaside-dev at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside-dev/attachments/20081031/7190b4ef/attachment.htm
More information about the seaside-dev
mailing list