Nickolay Bukreyev

Results 15 comments of Nickolay Bukreyev

I had to do some work to account for nondeterministic/impure functions, so forbiding them will simplify things a bit. But aren’t there use cases which do require them? How would...

Thank you, your solution looks nice (well, nicer than those I thought about). And if a message needs several random numbers (don’t know why), it can request a bigger number...

I see three ways here. 1. Explicitly specify that there are no limits. Implementations _must_ accept any resource that can exist. Downside is that it will significantly complicate both implementations...

1. I don’t think that localizers should be able to match against `undefined`. Undefined variables generally signal a bug in the program, and the programmer should be responsible for dealing...

Oh, yes, everything I said before only applies to impure functions. An implementation is free to reorder or drop calls to pure ones as long as the result stays the...

> If the latter, what is the actual rule? Merge all Junks excluding ones that start with `#`? The actual rule is “Try to parse a placeable, and if you...

> Do you mean the case when there is no parameters in command line? ```d import argparse; struct status { bool all; } struct start { } struct stop {...

> Consider also the case when a command line does not specify a subcommand even when there is no default subcommand. This is also a legit use case, for example:...

But you can inject a separate `await` template for the procedure being transformed so that it will use ``chronosInternalRetFuture`gensym123456``. Since `await` is already a template, this will not incur additional...

With ease. Here you are: ```nim import std/macros when not declared assert: import std/assertions when defined useChronos: import chronos/asyncloop else: import std/asyncdispatch macro wrapWithSubproc(body) = body.expectKind nnkStmtList body[0].expectKind nnkStmtList let...