IO_METHOD(IoSeq, asSymbol) { /*doc Sequence asSymbol Returns a immutable Sequence (aka Symbol) version of the receiver. */ return IoSeq_rawAsSymbol(self); }
IoObject *IoSeq_asSymbol(IoSeq *self, IoObject *locals, IoMessage *m) { /*doc Sequence asSymbol Returns a immutable Sequence (aka Symbol) version of the receiver. */ return IoSeq_rawAsSymbol(self); }
IoObject *IoMessage_locals_symbolArgAt_(IoMessage *self, IoObject *locals, int n) { IoObject *v = IoMessage_locals_valueArgAt_(self, locals, n); if (!ISSEQ(v)) { IoMessage_locals_numberArgAt_errorForType_(self, locals, n, "Sequence"); } return IoSeq_rawAsSymbol(v); }