These are chat archives for Ren-data/Ren/map
hash!, though I'm far from knowing all languages. That's a good question to ask, I think.
hash!in my head as having this syntax
#[...], even though it never actually had a literal form, AFAIK. Perhaps, I was thinking “hashed block”, and so I was thinking “hash” (
#) + “block” (
map!does start with a “hash” symbol in Red's
#(...). More than ever, I still can't help thinking of
#[...], as the syntax is halfway between
map!, as though
#[...]is a “hashed block”, and
#(...)is a “hashed... something else”... OK, so the analogies had to stop somewhere. :)
block!, but still needs a convenient syntax to do this. Maybe
hash!could be it (although it probably isn't a sweeping solution to store metadata for other types). Then it could be used in Ren, and if other languages don't have any datatype corresponding to
hash!, they could read
#[...]as a list, and it would still behave the same way everywhere (just faster in Redbol).
#[object! [a: 1]]to
\object![a: 1]etc.). Yes, I went there.
(...)for lists, though, but perhaps I'm still a bit confused about the mission.
(...)was more complete Redbol support. Without it, parens couldn't pass through Ren. I thought of
hashlistas a shorter name for 'hinted list' and that the name could be thought of like
hash!, so a merged hash/block type in Redbol would still be compatible I think.