11 lines
203 B
Text
11 lines
203 B
Text
defimpl Modulus for: Native::Integer64, as: ->
|
|
|
|
def modulo other: Native::Integer64, as: ->
|
|
Huia::Primitive.i64_modulo(self, other)
|
|
end
|
|
|
|
def modulo other: Any, as: ->
|
|
None.new()
|
|
end
|
|
|
|
end
|