Skip to content

Guard against double force with an exception? #41

Open
@natefaubion

Description

@natefaubion

If you use Lazy recursively, and make it too strict, you can wind up calling force inside of a force. Currently, this will loop forever (or blow the stack more likely), but should we guard against this and throw an exception? The compiler does this with recursive binding groups (which can appear anywhere), so this isn't really adding exceptions where there otherwise wouldn't be any.

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