Skip to content

Why is the argument of a cont_type a heap_type #106

@fgmccabe

Description

@fgmccabe

In the proposed spec interpreter, we have:

...

and func_type = FuncT of result_type * result_type
and cont_type = ContT of heap_type

My question is: why is cont_type defined this way. This syntactically permits invalid forms of continuation types. Why isn't it the same as a func_type:

and func_type = FuncT of result_type * result_type
and cont_type = ContT of result_type * result_type

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions