import std/random import std/sequtils import pkg/stint randomize() proc example*(_: type bool): bool = rand(0'u8..1'u8) == 1 proc example*[T: SomeInteger](_: type T): T = rand(T) proc example*[I: static int, T](_: type array[I, T]): array[I, T] = for i in 0..