[Seaside-dev] Issue with subStrings:
James Foster
Smalltalk at JGFoster.net
Fri Oct 31 14:03:11 UTC 2008
On Oct 31, 2008, at 5:08 AM, John O'Keefe wrote:
> 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.
Likewise, I expect we could modify GemStone/S to confirm to the ANSI
spec.
James Foster
GemStone Systems, Inc.
> 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
>
>
> _______________________________________________
> 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/e2e17d48/attachment.htm
More information about the seaside-dev
mailing list