Skip to content

Commit

Permalink
Improve BeginPackage needs pattern...
Browse files Browse the repository at this point in the history
Update CHANGES.rst to reflect we have added KnotTheory.
  • Loading branch information
rocky committed May 7, 2021
1 parent 5626fbb commit 5d6624c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ CHANGES
2.1.1
-----

Mathics Packages added:

- ``KnotTheory``. This is largely not working, but provided so that others can try, report bugs, and help out.


New variables and builtins
++++++++++++++++++++++++++

Expand Down
4 changes: 2 additions & 2 deletions mathics/builtin/scoping.py
Original file line number Diff line number Diff line change
Expand Up @@ -650,8 +650,8 @@ class BeginPackage(Builtin):
Protect[System`Private`$ContextPathStack, System`$Packages];
context
""",
# "BeginPackage[context_String, needs__]": """
# BeginPackage[context]; Needs[Map[Needs, needs]];
# "BeginPackage[context_String, needs__List]": """
# BeginPackage[context]; Map[Needs, needs];
# """
}

Expand Down

0 comments on commit 5d6624c

Please sign in to comment.