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

Bracketing composed functions #32

Open
christianp opened this issue Apr 25, 2014 · 0 comments
Open

Bracketing composed functions #32

christianp opened this issue Apr 25, 2014 · 0 comments

Comments

@christianp
Copy link
Contributor

See https://rawgit.com/mathjax/ctop/master/tests/units/composition.html

The f.g in the second line should be bracketed. The way that <apply> is implemented at the moment, it would be quite hard to tell the composition that it needs to be bracketed.

christianp added a commit that referenced this issue Apr 25, 2014
bracket single arguments of functions unless the surrounding precedence is <2, i.e. not +, - or *.

An attempt at getting function composition to bracket correctly (see #32). This touches the generic function application code, so it might break something else.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant