96677aa499
I know this is dumb, but it's the best way for be to crystalise my thoughts about how this will work.
11 lines
234 B
Text
11 lines
234 B
Text
deftrait LogicalNot, as: ->
|
|
typedoc """
|
|
This Trait defines logical negation and is used by the runtime everywhere it
|
|
encounters a `!` operator.
|
|
"""
|
|
|
|
doc """
|
|
Return the logical opposite of self.
|
|
"""
|
|
def logical_not
|
|
end
|