You don't need more than highschool maths to understand the category theory behind common typeclasses.