infra icon indicating copy to clipboard operation
infra copied to clipboard

"is empty" for byte sequence

Open TimothyGu opened this issue 8 years ago • 2 comments

Byte sequence isn't defined in terms of a list, so it needs its own definition for "is empty":

A byte sequence is empty if its length is zero.

TimothyGu avatar Apr 27 '17 08:04 TimothyGu

See #91. This might change a bit.

annevk avatar Apr 27 '17 09:04 annevk

Also, can't you just compare with the empty byte sequence? That's what we do for strings (which I consider roughly equivalent) all the time.

annevk avatar Nov 23 '17 13:11 annevk