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
Currently categorify runs in CategoryStack, which doesn't include CoreM. This is because categorify is used as a rewrite rule, and the type of ru_try doesn't permit using CoreM.
This means we can't do CoreM things in it, like findId.
It should be possible to use categorify to modify the CoreProgram directly (see bindsOnlyPass), i.e., we just look for applications of Categorifier.Categorify.expression and rewrite them. This way it can run in CoreM, giving us more flexibility.
The text was updated successfully, but these errors were encountered:
Currently
categorify
runs inCategoryStack
, which doesn't includeCoreM
. This is becausecategorify
is used as a rewrite rule, and the type ofru_try
doesn't permit usingCoreM
.This means we can't do
CoreM
things in it, likefindId
.It should be possible to use
categorify
to modify theCoreProgram
directly (see bindsOnlyPass), i.e., we just look for applications ofCategorifier.Categorify.expression
and rewrite them. This way it can run inCoreM
, giving us more flexibility.The text was updated successfully, but these errors were encountered: