You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this is replacing the Dual, not doing the substitition inside of the primal
so (exp x0) pops out, and the literal implementation doesn't recurse into its lists, because in NORMAL generic arithmetic without the subs, (exp <dual>) would return type dual, not type literal
So we can fix typical-object here or do something in the function body...
The text was updated successfully, but these errors were encountered:
For example:
What's happening:
x
is getting substituted for a symbol, sayx0
Dual
, not doing the substitition inside of the primal(exp x0)
pops out, and the literal implementation doesn't recurse into its lists, because in NORMAL generic arithmetic without the subs,(exp <dual>)
would return typedual
, not typeliteral
So we can fix
typical-object
here or do something in the function body...The text was updated successfully, but these errors were encountered: