Andreas Rumpf

Results 54 issues of Andreas Rumpf

# Concept redesign Goals: - Empower concepts to make generic code type-checkable at declaration time, not only at instantiation time. - Make concepts easier to understand and easier to implement....

Once the most pressing ``concept`` bugs are fixed, the stdlib should make use of them. Especially the concepts ``Iterable`` and ``Indexable`` should be introduced and used in the standard library,...

This RFC is a summary of the discussion from https://github.com/nim-lang/RFCs/issues/19 The proposal that has won is to allow repeating the case discriminator field without the ``: type`` syntax. Like so:...

# The Problem "Generic sandwiches" (https://github.com/nim-lang/Nim/issues/11225), error-prone behavior. For a simple example let's look at this program consisting of two separate modules: ```nim # Module objs.nim import hashes type Obj*...

Accepted RFC
Candidate for v2

Getting rid of the existing ``void`` parameter bugs is suprisingly hard. It also seems unsound from a type theory perspective, Scala uses a ``Unit`` type instead. Steps: - Deprecate ``void``...

# Motivation: Make naive string handling code faster In the ARC/ORC implementation string *literals* are already not copied and not destroyed. When these strings are potentially mutated ``nimPrepareStrMutationV2`` is called...