I'm reading up on Haskell and as expected there are some operators that are left associative and others that are right associative. That got me thinking, how would the implementation differ for a new operator ¤, when comparing the left associative version versus the right associative version?
So given [1,2] ¤ [3,4] ¤ [5,6]
, what changes in the implementation if I want this to be interpreted as (([1,2] ¤ [3,4]) ¤ [5,6])
versus ([1,2] ¤ ([3,4] ¤ [5,6]))
?