Skip to content

Avoid templates as parts of terms #166

@riedelcastro

Description

@riedelcastro

Currently SeqMap (and FoldLeft etc) are terms with "template" arguments (Term => Term functions). Instead of these templates we should use (variable, term) pairs where the variable identifies the slot in the body term. The benefit of this is that we can pattern match on such terms (this isn't possible for scala functions).

When users create the SeqMap via the .map method we should still use templates though. The .map call will then create the corresponding (variable,term) pair to populate the SeqMap term.

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