Skip to content

better beta reduction #64

Closed
Closed
@bobzhang

Description

@bobzhang

when calculate Lambda.free_variables also return the occurence, suppose parameter expression has no side effect, if it is 0, don't do anything, if it is 1 (common cases for small function), do the substitution directly
also check:

  1. analyze the purity of the expression
  2. avoid global module

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