-
Currently, you cannot derive `Generic` for an unlifted type, specifically one defined using the new `UnliftedDatatypes` extension. Would it be possible to lift this restriction?
-
Normally, all generic type arguments of a generic cannot themselves be uninstantiated generics:
```crystal
Comparable(Array) # Error: can't use Array(T) as generic type argument yet, us…
-
* **Request Type**: Feature Request
* **Mock-up repro** ([more detailed mock-up here](https://pastebin.com/ErSCLTF4)):
```py
import abc
import typing
# Define two base types `ABase…
-
The following code compiles and runs ok, but nimsuggest complains about function calls in assert lines (last two):
```nim
type MaybeS = enum Nothing, Just
type Maybe[T] = tuple[fst:MaybeS,snd:T]
…
arkt8 updated
2 years ago
-
# Brainstorming about generics in VL in general
Since the beginning, VL offers a way to build generic patches.
While in the very beginning we tried to get away without the need to flag patches, we…
-
### Description
When builtin types have generics, chaining distincts causes improper proc resolution.
This doesn't work
```nim
type
MyType[T] = seq[T]
A[T] = distinct MyType[T]
B[T] = dis…
-
``` nimrod
type intorfloat = int or float # Adding distinct doesn't help
proc x(a: intorfloat; b: intorfloat) =
echo a, " ", b
# Working
proc y(a: int or float; b: int or float) =
echo a, " ", b…
-
Hello,
We have the use case of wanting to persist generic types. (Ex: `Document`).
At runtime, after type erasure, the enclosing type is actually lost and so Catatumbo fail to be able to read the …
-
See original discussion [here](https://github.com/miragejs/miragejs/pull/262/files#r382230917). cc. @zoltan-nz
-
### 🔎 Search Terms
template literal, indexed access, keyof, key of
### 🕗 Version & Regression Information
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about i…