Andreas Rumpf
Andreas Rumpf
We need to special case `as` in the language so that we know without having to type check that `f(x) as y` introduces a new identifier `y`.
We need a nim-lang/patterns package which the documentation refers to which makes case available for objects, tuples, seqs and arrays and their nestings. syntax is: ```nim of MyObject(fieldX as x,...
I prefer massive refactorings over massive documentation efforts. I know that we can do both, but if I have to choose, I take "refactorings". - [ ] Rewrite the codegen...
@haxscramper I don't understand. A refactoring can be as simple as "rename a variable".
What's the benefit over just adding the path yourself to nim.cfg?
`/path/to/module` might not have a corresponding URL yet so maybe it cannot be added to the Nimble file. I don't see why it would be useful. There is already `atlas...
How could this work on Windows then?
Well guess what, the Windows version works best with ``{.compile: "zip/private/libzip_all.c".}``.
@zah That is already covered by closures. If you don't like closures because they mean GC activity, there should be a different proposal to sort it out. Functors in C++...
> Incidentally, if void becomes a type like any other, not specifying the return type of a proc can become the same as returning auto, without breaking retrocompatibility. How would...