Time To Write
It has been awhile!

Some code

the :: ExprPrim
the t dest stx = do
  Stx _ _ (_, ty, expr) <- mustHaveEntries stx
  saveOrigin dest (stxLoc expr)
  tyDest <- scheduleType KStar ty
  -- TODO add type to elaborated program? Or not?
  forkAwaitingType tyDest [TypeThenUnify dest t, TypeThenExpandExpr dest expr]

Blog Publications Github About