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
Have there been thought on integrating an monadic operation to the TemplateMonad to allow unguarded recursion?
I have seen a few monadic programs defined in the monad requiring fuel to allow non-structural recursion. It seems to me that it should be possible to have a fixpoint operator tmFix : forall X, (X -> X) -> X -> TM X that removes the need for fuel. Or is there a theoretical/practical argument against having this?
The text was updated successfully, but these errors were encountered:
An alternative is to make the definition coinductive, which would also work and might make it possible to prove termination after the fact using existing Coq mechanisms.
Have there been thought on integrating an monadic operation to the TemplateMonad to allow unguarded recursion?
I have seen a few monadic programs defined in the monad requiring fuel to allow non-structural recursion. It seems to me that it should be possible to have a fixpoint operator
tmFix : forall X, (X -> X) -> X -> TM X
that removes the need for fuel. Or is there a theoretical/practical argument against having this?The text was updated successfully, but these errors were encountered: