Feature

delay <call> inside generics

What it enables

Spawn a coroutine from inside a generic proc — the prerequisite for a generic race[T]/gather.

How

semDelay is re-entrant and re-sems the delayed call on instantiation so the generic callee is actually instantiated (issues #2, #7).

Files: nimony/sem.nim

Verification

Covered by tgenrace.


Back to top

aoughwl — next-gen self-hosted platform for things n stuff. Reach out on Discord (timbuktu_guy) for access to the private backends.

This site uses Just the Docs, a documentation theme for Jekyll.