[Seaside-dev] Seaside 3.0a6ish

Paolo Bonzini bonzini at gnu.org
Thu May 20 11:52:25 UTC 2010


On 05/20/2010 10:23 AM, Julian Fitzell wrote:
>      > GRCodec>>encode: (String)
>      >    ^(ByteArray)
>      >
>      > GRCodec>>decode: (ByteArray)
>      >    ^(String)
>
>     I agree. I believe the first one is doable, I'll hack together a
>     prototype today. The second is more tricky because the servers
>     themselves (Comanche and Swazoo) already give us a String which is
>     actually just a ByteArray.
>
> Maybe we could get the servers "fixed" (might imply a mode you can set
> or something). Obviously the server adaptors can simply deal with it as
> well, but there's going to be an inefficiency there.

Or just have decode: accept a ByteArray or a String.  Just add good old 
#isByteArray to Grease.  You can call it #isBytes if you want to be 
politically correct. :-)

Paolo


More information about the seaside-dev mailing list