-
When a `proc` returns `Future[something]` Nim does not allow you to use `argument: auto` in the arguments,
this does not make sense at all **for JavaScript targets**, it makes sense for other backend…
-
https://github.com/nim-lang/redis/blob/master/src/redis.nim#L1090
-
### Example
```nim
import macros
macro foo(x: static[int], n: typed): untyped =
result = n
if result.kind in RoutineNodes:
echo "foo on ", result.name, ", x: ", x
else:
echo "f…
-
All these will simplify some API's by making them generic with less duplication:
- [ ] constructors: https://github.com/nim-lang/Nim/issues/7474 newFoo[T](args) => Foo.New[T](args)
- [ ] initializ…
-
### Description
```nim
import std/macros
template p {.pragma.}
type
X {.p.} = object
Y[T] = object
t: T
echo Y[X].T
echo Y[X].T.hasCustomPragma(p)
```
### Nim Version
% nim…
-
Rationale:
1) Removing the direct nimsuggest integration makes the VS code extension easier to maintain. Its functionality is redundant and the code is very Visual Studio Code-specific, while nimlang…
-
[Helpers/database] Re-add MySQL-related helper functions
Apparently, we already have MySQL support for the core helper function - as with Sqlite. Why are they not in? Was it because of the extra depe…
-
[Helpers/ffi] Re-visit & re-implement the whole thing
Current, this "works". However, even if it works, it's not the best way to do it. Plus, we're totally limited regarding what type of functions we…
-
Laser-based tensors use either a raw pointer to be able to plug in buffers coming from external libraries (Numpy, PyTorch, Tensorflow) and also exchange buffer with zero-copy. Or they use a seq for Ni…
-
This would involve mostly reverting https://github.com/kaushalmodi/ptr_math/commit/22609c856db9311df64573ca30ca80cde58046a3 .
https://gitter.im/nim-lang/Nim?at=60c0e98f19b46c60b179ef72
/cc @tree…