Comment

Comment by rabarbers

It is not the same.

   A1 = x * y + x    
   A2 = y * x + x    
   A1(1, 2), A2(1, 2)    
returns results 3, 4 If You want to change parameter order, You can use Grace~ operator like this:

   A1 = x~ * y + x   
it moves parameter x one position towards the end of the parameters list.

Sorry, I do not know how to post code snippets in HN properly.

parent rabarbers 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton