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

Fix error in operator table (LDot/Dot) #163

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

filonik
Copy link

@filonik filonik commented Jan 14, 2024

The table in README.md incorrectly lists x<<y as Dot, when it should really be left contraction (LDot).

I have corrected the mistake, and added a separate row for the symmetric contraction (Dot).

See:

ganja.js/ganja.js

Line 1786 in 910e574

var syntax = (intxt instanceof Function)?[[['.Normalized','Normalize',2],['.Length','Length',2]],[['~','Conjugate',1],['!','Dual',1]],[['**','Pow',0,1]],[['^','Wedge'],['&','Vee'],['<<','LDot']],[['*','Mul'],['/','Div']],[['|','Dot']],[['>>>','sw',0,1]],[['-','Sub'],['+','Add']],[['%','%']],[['==','eq'],['!=','neq'],['<','lt'],['>','gt'],['<=','lte'],['>=','gte']]]

@filonik
Copy link
Author

filonik commented Jan 14, 2024

Here's a related pull request that addresses this for coffeeshop help: #110

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

Successfully merging this pull request may close these issues.

1 participant