Laxystem

Results 63 comments of Laxystem

> If the implementation of the interface can be mutable, then it is not "immutable" it is just a readonly interface similar to `List` Correct. But immutability is a contract....

To further my point, if we make `ImmutableList` `sealed`, shouldn't we do the same for mutable ones, too? Afterall, the same arguments apply - the contract can be broken, it...

@Sporking about security: in all Kotlin targets, the moment malicious code runs, you're fucked. Unless JetBrains is planning on improving security across the board in ways completely unprecedented for such...

For example, when writing a game engine, I'm keeping vectors immutable and open; Yes, one can abuse that to render completely different things on my game's window - but that...

I agree with that. As for implementation, I would: ```kotlin sealed interface ConstantCollection : PersistentCollection fun persistentListOf(vararg contents): ConstantList // change return type fun List.toConstantList(): ConstantList = if (this is...

> Cousine, Everson Mono and Gnu Freefont have Hebrew characters. Oh, they do! I haven't found them, thanks.

> If you have any reference how to add such support to a lib WASM is a compile target, that similarly to JS, has `browser` and `nodejs` - but it...

Do note that when WASM is out of alpha, it'll likely have interop with other WASM languages, allowing for usage of more complex log libraries than the basic stdout. Plus,...

> Which impl do you think is the most appropriate? I think `console`, as it supports multiple log levels. *However*, `println` delegates to the standard WASM output. To allow for...

I would recommend MPL 2.0 for this repo if you haven't decided already. It's a file-based copyleft license - that is, modified files must be released under the MPL, but...