We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec5dd08 commit 8829514Copy full SHA for 8829514
mathics/builtin/patterns/rules.py
@@ -99,7 +99,7 @@ class DispatchAtom(AtomBuiltin):
99
"""
100
<url>
101
:WMA link:
102
- https://reference.wolfram.com/language/ref/DispatchAtom.html</url>
+ https://reference.wolfram.com/language/ref/Dispatch.html</url>
103
104
<dl>
105
<dt>'Dispatch'[$rulelist$]
@@ -135,7 +135,7 @@ def eval_list(
135
self, rules: ListExpression, evaluation: Evaluation
136
) -> OptionalType[BaseElement]:
137
"""Dispatch[rules_List]"""
138
- result = eval_dispatch_atom(rules, evaluation)
+ result = eval_dispatch_atom(rules.elements, evaluation)
139
return result
140
141
def eval(
0 commit comments