• 3 Posts
  • 7 Comments
Joined 2 years ago
cake
Cake day: June 28th, 2023

help-circle
  • The Idea is that the enum acts as a union, capable of holding any of the member types, It’s not that different from using identifiers and when transpiling to rust I will probably only support variants beginning with string literals (or maybe generate them).

    The main reason is that I could use type inference to define the variants in a returned anonymous enum.

    I like the pipe symbol because it is useful for distinguishing between enums and structs without keywords. And I just personally think it looks better. And allow for pretty anonymous enums like (|String |Int) for something that can accept both a string and an integer.




  • Thanks!

    I intend for the language to have a similar borrow checker and type system. Which is why I’m targeting rust. It means I have something to check against when writing the tooling. (Although I’m not sure I’ll get that far. My computer is littered with dead projects).







  • All murders happen because of emotional (killing someone in anger), economical (Theft gone wrong) or psychological (Doesn’t realize it’s wrong) reasons. none of these is prevented by sticking the murderer in a box after the murder.

    All of these are prevented by building strong social network to manage any harmful impulses before something happens, which is something any reasonable anarchist would agree with.

    Also If you think the list is incomplete then feel free to give another example.

    Oh yeah also political assassinations and wars. But your comment already addresses those.

    I think a better wording is that anarchy is naive. And I’d rather be naive than accept that this is the best we can come up with, because that’s depressing.