# One way to express "set membership" in Raku:
print 3 ∈ [1,2,3,4]; # True
# One way to mimick your code is to create a new operator in ordinary code:
sub infix:<in> (|args) { infix:<∈> |args }
# The above modifies the compiler (not interpreter). So this code *compiles*:
print 3 in [1,2,3,4]; # True
# To confirm that the above modifies the *compiler*, try moving the `sub infix` line
# to here and then click `Run` again. You'll get a *compile-time* error message so
# neither of the `print` statements get executed!