Skip to content

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

Open
filonik wants to merge 2 commits intoenkimute:masterfrom
filonik:patch-1
Open

Fix error in operator table (LDot/Dot)#163
filonik wants to merge 2 commits intoenkimute:masterfrom
filonik:patch-1

Conversation

@filonik
Copy link
Copy Markdown

@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
Copy Markdown
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