Skip to content

Full Applicative Order Argument Evaluation #2

@rudynicolop

Description

@rudynicolop

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.

Here is the example in lambdalab.

Is this behavior expected?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions