Oscar Campbell
Oscar Campbell
Aha, I saw that in Vim also.
I've figured out what to do about it. The evil macros won't be necessary. Anyway, example of reason: ``` onyx type Foo @a I32 @b I32 init() -> @a =...
I'm not completely following here, but a primary theme as to mechanism seems to be "auto-discarded unused values in an implicitly induced multi-assign", did that make sense? And if so...
I really have to dive in to bed now, but can't resist quickly commenting: the concept is growing on me - interesting!
In response to https://github.com/ozra/onyx-lang/issues/56#issuecomment-196022346: My first thoughts regarding the brittle tuple-example was the one you mention in above linked comment: Maybes. And then I thought, "why not just Value|Nil?". Well,...
Yes the `function?` is a problem, this goes for syntax for the nil-sugar-notation also, as mentioned in #21. Still thinking about that one. Making it implicit (for _if-conditionals_) is good...
With regards to the brittle tuple issue then, I think `if` implicitly calling `=== true` (whatever the operator would be called if changed) on the supplied expression should suffice, so...
> You don't think actually implementing brittle tuples is a good idea, then? My reasoning is as follows: I'll leave this open for now, for further discussion and to not...
Regarding the `=~` vs `===` etc., I'm opening a new issue.
> Then x-y matches x_y and x-y, and also sometimes xY? That's useful. Although I think it should... Delimiting style is one of the most controversial among coders, and the...