Ary Borenszweig

Results 414 comments of Ary Borenszweig

std specs also run with the current compiler, and `base_type` is not defined there. You can implement it by doing `typeof(values.first)`

@icy-arctic-fox 🤔 Box is meant for reference types... do you have a use-case for a union of int and nil? Or was it an accident?

Ah, nevermind, maybe there's a use case, I don't know... at least there's a spec for values.

Right... I think the interpreter runs in one thread, so anything executed in it will be in that thread. For this to work the interpreter needs to be aware of...

If this compiles it probably means that I allowed any pointer type to be assigned to `Pointer(Void)`, but I probably forgot to add the code for doing the conversion in...

Out of curiosity... Looking at the JS library, it seems that the Hash they use has a fixed size of 0x10000: https://github.com/ka-weihe/fastest-levenshtein/blob/6c5236b00d04a30428e4fac23b2840222d931f05/mod.ts#L1 Does that mean that the library will fail...

> I sincerely hope no-one writes code like that particular example No matter what language feature we are talking about, in my experience hoping that someone won't do this or...

This is really cool! One optimization I always wanted to do, but didn't think it's worth it (but it probably is!) is trying to not use `typeof` when we know...

Thanks! But I don't understand... `Value.nilable?` should be `false`. `Object.nilable?` should be false. As I explained in the other PR, `nilable?` means it's either `Nil`, or it's a Union containing...

Oh, I guess `Value` can be nil as one of its sublcasses is `Nil`... Hmm... I guess I never thought about including a module in `Nil`, then using that module...