Seol mar théacs é seo: Theory and applications of mathematics for teachers