枯萎の花

Results 10 comments of 枯萎の花

Umm, I remember we had drawn the conclusion before that the outer space of an anonymous function is always `globals`, wherever it is defined. https://discord.com/channels/646000428441534474/646000428441534478/1165859154590699541

I incline to the CL behavior, which produces `0` as a result. ``` ]a = function; end function ]b = @a ]a = function; end function ]c = @a ]@b...

`not not` won't result in any confusions, because `not` only requires one parameter. Even without parentheses, `not not 1` is clear enough to yield a certain value `1`. While `-`...

`not not` can easily boolean a data. I can do things like `a = [42, 43][not not x]` rather than `if x then a = 43 else a = 42`,...

```ts type CompareArrayLength = { [K in keyof T]: 0 } extends [...{ [K in keyof U]: 0 }, ...infer R] ? R extends [] ? 0 : 1 :...

The first problem is a known bug, see in #70 . The second question: 1. String has the highest priority. If an expression has strings, the result is a sting....

Note that only assigning `one` to `itself` can trigger this bug. If you do `pi = time`, it also behaves fine.

It seems the rule is never mentioned in [MiniScript-Manual.pdf](https://miniscript.org/files/MiniScript-Manual.pdf). Maybe it needs update.

```ts type Tuple = R["length"] extends L ? R : Tuple type In< T extends number, L extends number, H extends number > = Tuple extends [...Tuple, ...0[]] ? Tuple...

Resolve negative number, decimal number, super big number (e.g. `1e25`), super small number (e.g. `1e-10`) cases: [Compare](https://github.com/type-challenges/type-challenges/issues/37189#issuecomment-3214329176)