Darren Duncan wrote:
> With the above addition, you have both Buf and Blob roles as well as Buf and
> Blob types.
>
> I think you need to make each of those just a role or a type, and then add
> another named entity which is the counterpart role or type.
>
> For example, as you have Stringy as a role with the Str type, maybe you can
> have Blobby with the Blob.
>
> And maybe Buffy with the Buf?  The Perl community already seems to like such
> puns, so why not?

I second the notion of a separate role, like Str vs. Stringy.
However, the idea here is that a Blob is an immutable Buf.  AFAICT,
the roles are agnostic concerning mutability: you have Positional,
which applies to both Arrays and Lists (IIRC).  So you'd have one of
Blobby or Buffy, but not both.  Or perhaps you'd have another name for
it that captures the essentials that Blobs abd Bufs share, without
"privileging" one over the other.  Or not.

-- 
Jonathan "Dataweaver" Lang

Reply via email to