Stream: beginners

Topic: ✔ Is it possible to create a new type alias based on anot...


view this post on Zulip Mendel Rubin (Dec 08 2024 at 00:22):

Is it possible to create a new type alias based on another type alias for a tag (syntactically)?

Like:

Fruits: [Apple, Pomegranate, Grape]
Foods: [Fruits | Pretzel, Bread] # Foods: [Apple, Pomegranate, Grape, Pretzel, Bread]

view this post on Zulip Brendan Hansknecht (Dec 08 2024 at 00:36):

Foods: [Pretzel, Bread]Fruits

view this post on Zulip Brendan Hansknecht (Dec 08 2024 at 00:37):

Man, I can't wait for the new syntax around this. I think I'm the future it should be:
Foods : [Pretzel, Bread, ..Fruits]

view this post on Zulip Mendel Rubin (Dec 08 2024 at 00:38):

Thank you, I should've read the docs a bit better, because it also says it there (it just a bit hard to find).

view this post on Zulip Notification Bot (Dec 08 2024 at 00:41):

Mendel Rubin has marked this topic as resolved.


Last updated: Jul 06 2025 at 12:14 UTC