Proceedings of the Royal Irish Academy: On functions of quaternions