-
### Description
I am familiarizing myself with the language by going through the manual.
I am creating seperate nim files to test some of the stuff in the manual.
[This snippet from the manual…
-
Compiling pakku using nim-git currently fails. Merely because "future" module was renamed to "sugar" and "SystemError" was replaced by "CatchableError".
I therefore suggest to have a branch targeti…
-
```nim
proc FP[T](A: var openArray[T], myCmp : proc(x,y:T):T): int =
1
proc FS[T](A: var openArray[T], myCmp : proc(x,y:T):T = system.cmp[T]): int =
result= FP(A, myCmp)
const
N= 6
…
-
- [ ] https://github.com/codex-storage/nim-codex/issues/598
- [ ] https://github.com/codex-storage/nim-codex/issues/602 More info: maxCollateralPerByte – instead of SP setting their maxCollateralPerB…
-
This is a issue to track the development of the [Nim](https://github.com/nim-lang/Nim) compiler shard for BinaryBuilder in Yggdrasil.
Nim supports cross compilation in two ways:
1) Using [comma…
-
Please can we have a general nim interactive? Ideally it would allow a user to play against the computer or against another user.
Ideally it would be designed so you could play:
1. with counters (…
-
``` javascript
/**
* @param {number} n
* @return {boolean}
*/
var canWinNim = function(n) {
return Boolean(n%4)
};
```
### 关于题目的理解:
因为题目假设我们会采取最优策略:
1.所以当石块的数目可以被4整除的时候,对手总可以为你剩下4块石头
2.所以当石块的…
-
-
I just did star your repo, just as thanks for Nim sample, but
I hope not to encourage more waste of your time.
Haxe lang is able to do similar compile to C and JavaScript that Nim is able, but
Ha…
-
Hello,
Is it possible to export object type and its function into python, but without using precompiled module?
Here is an example, which works, but I put comment there:
```nim
type
NimObj = …