-
-
Save zoffixznet/269379aebe538214b7a37d94dd05187e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use nqp; | |
class B2 does Blob { | |
multi method new2(Blob: Blob:D $blob) { | |
nqp::splice(nqp::create(self),$blob,0,0) | |
} | |
multi method new3(Blob: Blob:D $blob) { | |
nqp::splice($blob, nqp::create(self), nqp::elems($blob), 0) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment