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

Adding SubsetQ and Delete function #688

Merged
merged 4 commits into from
Sep 3, 2020
Merged

Conversation

larionvn
Copy link
Contributor

This PR contains 2 new functions:

  • SubsetQ
  • Delete

Issues: Checked a test case of Delete[] function in both Mathematica 9.0 and 10.0 version and got the output (error message) as below:
Input: Delete[{a, b, c, d}, {1, 2}]
-> Delete:partw: Part {1,2} of {a, b, c, d} does not exist. (Mathematica 9.0)
-> Delete:partw: Part 2 of {a, b, c, d} does not exist. (Mathematica 10.0)

The 10.0 is the later version but the message in this case looks like incorrect. In this implementation, I follow the message of verion 10.0.

@GarkGarcia GarkGarcia merged commit 326fd45 into mathics:master Sep 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants