Description: Extend class notation with a function mapping a group operation to the multiple/power operation for the magma/group.
class .g