nqp
nqp copied to clipboard
nqp::split should allow for boxing type
Or is should just return an nqp::list_s rather than an nqp::list with boxed strings.
nqp::split is documented to take 2 parameters: the delimiter and the string. It can actually take a third parameter, of which the usage is undocumented (and I've not been able to find a usage of in the NQP code base).
nqp::splitis documented to take 2 parameters: the delimiter and the string. It can actually take a third parameter, of which the usage is undocumented (and I've not been able to find a usage of in the NQP code base).
If https://github.com/Raku/nqp/pull/714 is merged then nqp::split won't accept a third parameter anymore (in fact no ops will accept as a write destination, one more parameter than they're documented with).