[Cuis-dev] How can I add another collection syntax, such as {1} & #(1) & #[1]?

rabbit rabbit at callistohouse.org
Sat Aug 12 06:10:37 PDT 2023


I think it will need to be such as read-only Array and ByteArray construction, to differentiate from other selectors. So it will need to be #<. I'm fine with it being a read-only ETuple, so that it conforms to the convention of constructing read-ony objects :: #() . and #[]. I could sent #makeWriteableObject to. If a Tuple detects Computable, it could make itself Writeable, or when computations occur prior to replacing the computable with the result of computation. And so on and so forth. This would look as

> #<#<1 !! 2 !! 3> !! #thisIsAConstructedWithNestingETuple>

Best,
••• rabbit ❤️‍🔥🐰

On 8/12/23 09:03, rabbit via Cuis-dev wrote:

> Good morning. I wish to add <> brackets to create an ETuple. How may I accomplish this? Such as:
>
>> <<1 !! 2 !! 3> !! #thisIsAConstructedWithNestingETuple>
>
> Results in:
>
>> anETuple (2 elements :: {anETuple (3 elements :: {1 !! 2 !! 3}) !! #thisIsAConstructedWithNestingETuple})
>
> Gratefully,
> ••• rabbit ❤️‍🔥🐰

--
••• rabbit ❤️‍🔥🐰
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20230812/38bce910/attachment.htm>


More information about the Cuis-dev mailing list