Exun.Eq (exun v0.5.0)

Compares two expressions

Link to this section Summary

Functions

Tree equality, normalize compounds '' and '+' because {,{,1,2},{,3,4}} == {,{,1,3},{,2,4}} so transform both trees to {{:m,}[1,2,3,4]} before compare

Sort for m multiple list Sorts components of lis {{:m,op},lst} in a convenient way for eq and operating

Link to this section Functions

Tree equality, normalize compounds '' and '+' because {,{,1,2},{,3,4}} == {,{,1,3},{,2,4}} so transform both trees to {{:m,}[1,2,3,4]} before compare

Link to this function

smm(left, right)

Sort for m multiple list Sorts components of lis {{:m,op},lst} in a convenient way for eq and operating