Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix extending self #3

Closed
wants to merge 1 commit into from
Closed

fix extending self #3

wants to merge 1 commit into from

Commits on Jun 26, 2019

  1. fix extending self

    The code `l.extend(l)` wasn't working properly. What was needed, is a
    defensive copy in case you try to extend the list with itself. The
    problem with that was, that the `is` operator wasn't implemented for the
    typed-list yet. So, this commit fixes the `is` operator for the typed
    list and uses that to implement the defensive copy in case of self
    referential extension. Tests included.
    esc committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    c6c3232 View commit details
    Browse the repository at this point in the history