Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Testing Semigroups to Ensure They Abide by the Law of Associativity


    Semigroup Data Types provide users with a .concat function which must abide by the associative law. As a result of that, it doesn't matter how we append .concat as it will always produce the same result.

    Fantasyland Docs - Semigroup