Replies: 4 comments
-
This is already supported by normal evaluation so it would be logical to also support ist via parser's |
Beta Was this translation helpful? Give feedback.
-
Sounds like a nice extension of the parser's functions |
Beta Was this translation helpful? Give feedback.
-
I'll send a PR if you guys want. Also how do you guys feel about taking in scope in the constructor. Currently, I have a function which looks like this. const parserWithScope = scope => {
const parser = math.parser();
toPairs(scope).forEach(([key, value]) => parser.set(key, value));
return parser;
}; but I would prefer to just be able to do |
Beta Was this translation helpful? Give feedback.
-
You can open a new issue to discuss |
Beta Was this translation helpful? Give feedback.
-
Currently, If I want to create an object I need to do something like this
What i'm looking for is a little bit like.
http://ramdajs.com/docs/#assocPath
Beta Was this translation helpful? Give feedback.
All reactions