Jonathan Lindegaard Starup

Results 363 comments of Jonathan Lindegaard Starup

> Check this out: https://openjdk.org/jeps/431 This does not argue against unordered collections right?

Here is the annonymous class. You can see that ALOAD 3 is out of bounds, there is only `this` at 0 and a closure at `1`. This invalid code comes...

I've updated my comment with more information, i don't think its a simple bug but rather a conceptual one. This example makes it clearer why the constructor can't have the...

1) make Anon do nothing in its constructor 2) generate `anon.cloi = gen(methods[i])` for each method in the exp generation method, following the `new Anon` call (this could also be...

> > (sidenote, why does the compiler say that this is impure?) > > Because `new` is side-effecting (it's creating a new object, a different one each time). See, for...

This version works fine so I think its an entrypoint thing ``` def main(): Unit \ IO = f() def f(): Unit \ IO = let (x, y) = (1...

* Does a[42] count? * `Array.slice(2, 1, [1, 2, 3])` and `[1, 2, 3][2..1]` is a runtime exception * `Array.swap!` with oob arguments (noted in doc comment)

Did anyone write down the plans for graph from the meeting @magnus-madsen @jaschdoc?

The wip Graph namespace would be a good testing ground for it