Category "nim-lang"

Jsony newHook has `SIGSEGV: Illegal storage access. (Attempt to read from nil?)` when deserializing into ref-objects

I am writing a web-application and am deserializing via jsony into norm-model-object types. Norm-model-types are always ref objects. Somehow my code which is ve

How do I build Nim library packages

I've created a nimble library package as per the documentation. When I try to build it using nimble build I get the following error. Error: Nothing to build. D

Nim have to convert string to int the simplest

How have Nim to convert string to int the simplest native way without a coder put import std... so on ? var s = "99" si :int i = 1 si = s ... # <- ? pic

Nim - How to access mytype of a field that has the type Option[mytype] at compile time?

Heyho, While coding my way through some generics I stumbled upon an issue with one of my generic functions. I have 2 types such as this import std/options impor