Jonathan Lindegaard Starup

Results 363 comments of Jonathan Lindegaard Starup

Ah okay, so its mostly `Math.and` or whatever might static things there might be

`String.trim` is parsed the same as `System.out` - allowing static Java things to use escapes means we must allow all(?) QNames to use escapes and then later (after knowing the...

how would you make drop be pure? you have to allocate and remember the number of things skipped? same thing with the index one.

> Allocate in the region or simply return something with the skip number inside it? Right, ~~I think drop can be written without up-front state~~

without looking at the practical aspect, the iterator shouldn't really hold a region. Our iterator is just `type alias Iterator[t, ef] = Unit -> Option[t] \ ef`. Holding the region...

Putfield is `exp.name = exp` and PutStatic is `QName = exp` where resolver has to resolve the QName (with one dot, maybe that doesn't matter) to a java static field

@mlutze this is probably the most important bug in all of Flix

What, why? Unit is unit

95% of the compiler sees `def test(): Unit` and `def test (x: Unit): Unit` as identical. Differentiating them implies that we add nullary defs to all the frontend ASTs