dev-serveez
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [dev-serveez] binary data type


From: stefan
Subject: Re: [dev-serveez] binary data type
Date: Fri, 20 Jul 2001 15:14:37 +0200 (CEST)

On Fri, 20 Jul 2001, Martin Grabmueller wrote:

> - I think `binary-search' should return #f instead of -1, because that
>   is how it is done in string searching procedures, and because it is
>   more useful.  Then you can use the result directly in `if's without
>   comparing it to another number:

I accept this. You recognized it: I wanted it to work like strings.

> - Maybe `binary-set!' should also support exact numbers as the last
>   argument?

Hm. The argument is checked against char's only. Good idea.

> - `binary-concat' should be `binary-concat!' because it has a side
>   effect on the binary argument.

So all things having effect on the argument are suffixed by "!" ?

> - What about making the last argument to `binary-subset' an optional
>   argument?  That would mean:

Good idea, too. Also I would like it more (binary-subset start length)
which would be more like the (substring) thingy.

> If you agree with one or more of the above suggestions, I can help
> implementing them, of course.  Just drop me a note.

Your help is welcome. Please do so.

Cheers,
        address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]