11 lines
213 B
Text
11 lines
213 B
Text
defimpl Modulus for: Native.Integer64, as: ->
|
|
|
|
def modulo other: Native.Integer64, as: ->
|
|
Huia.Primitive.i64_modulo(lhs: self, rhs: other)
|
|
end
|
|
|
|
def modulo other: Any, as: ->
|
|
Result.none()
|
|
end
|
|
|
|
end
|