Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
public struct Potencias
/// Elevar a 2
@Power(2) public var numero = 10
Salida detallada de la operación
public func show() -> Void
print("\(self._numero.value) elevado a \(self._numero.power) = \(self.numero)")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment