550 karma · joined July 7, 2021
Puny aur punarjanm
Maybe look at it in a different situation. Imagine someone punched you in the face and when you confront them about it they saying that you're holding to silly semantics about what it means or does not mean to get punched in the face.
type IsPrime<
MaybePrime extends number,
NumAsTuple extends unknown[] = [],
RemainderAsTuple extends unknown[] = NumAsTuple,
> =
MaybePrime extends NumAsTuple["length"]
? NumAsTuple["length"] extends RemainderAsTuple["length"]
? NumAsTuple["length"] extends (1 | 2 | 3 | 4 | 5 | 6)
? NumAsTuple["length"] extends (1 | 2 | 3 | 5)
? true
: false
: NumAsTuple extends [infer _, infer _, infer _, infer _, infer _, infer _, ...infer Rest]
? IsPrime<MaybePrime, NumAsTuple, Rest>
: false
: RemainderAsTuple["length"] extends (1 | 2 | 3 | 4 | 5 | 6)
? RemainderAsTuple["length"] extends (1 | 5)
? true
: false
: RemainderAsTuple extends [infer _, infer _, infer _, infer _, infer _, infer _, ...infer Rest]
? IsPrime<MaybePrime, NumAsTuple, Rest>
: false
: IsPrime<MaybePrime, [...NumAsTuple, 1]>;You should try it!
In any case, you read with exasperation or amusement the multiple errors in a story, and then turn the page to national or international affairs, and read as if the rest of the newspaper was somehow more accurate about Palestine than the baloney you just read. You turn the page, and forget what you know.
– Michael Crichton
[1] Bird feeders can contribute to the decline of native plants when birds who disperse the seeds in their scat feed at the feeders, their scat often lands somewhere where the seeds have no chance at germinating (sidewalk, mowed lawn etc)
Regarding classes, intuitively I agree, but I'm curious about your reasoning.
So I was grateful for the medicines I received then that may have been tested on animals or may have had animal ingredients. But I still advocate and prefer medicines to not be tested on animals and to not contain animal ingredients. I think we have a vast amount of untapped technology that could avoid that.
> As of 2018, the most common procedure is to take a functioning heart, with or without both lungs, from a recently deceased organ donor (brain death is the standard) and implant it into the patient. [1]