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
It seems as if Full Applicative Order does not fully-evaluate all arguments before beta-reduction.
For instance, with the macros:
ID = λx. x
TRUE = λx. λy. x
OMEGA = λx. x x
I expected the sample program:
TRUE ID (OMEGA OMEGA)
to diverge under Full Applicative Order, as it does under Call-by-Value. However, it appears to terminate to ID, as it would under Full Normal Order and Call-by-Name.
It seems as if
Full Applicative Order
does not fully-evaluate all arguments before beta-reduction.For instance, with the macros:
I expected the sample program:
to diverge under
Full Applicative Order
, as it does underCall-by-Value
. However, it appears to terminate toID
, as it would underFull Normal Order
andCall-by-Name
.Here is the example in lambdalab.
Is this behavior expected?
Thank you!
The text was updated successfully, but these errors were encountered: