role Stringy { ... }

字符串类型(如 Str)的通用角色。

类型图§

Stringy 的类型关系
raku-type-graph Stringy Stringy Positional Positional Blob Blob Blob->Stringy Blob->Positional Mu Mu Any Any Any->Mu Cool Cool Cool->Any Str Str Str->Stringy Str->Cool Uni Uni Uni->Stringy Uni->Positional Uni->Any Allomorph Allomorph Allomorph->Str NFKC NFKC NFKC->Uni NFC NFC NFC->Uni NFD NFD NFD->Uni NFKD NFKD NFKD->Uni utf8 utf8 utf8->Blob utf8->Any Buf Buf Buf->Blob Numeric Numeric Real Real Real->Numeric Int Int Int->Cool Int->Real IntStr IntStr IntStr->Allomorph IntStr->Int Num Num Num->Cool Num->Real NumStr NumStr NumStr->Allomorph NumStr->Num Complex Complex Complex->Cool Complex->Numeric ComplexStr ComplexStr ComplexStr->Allomorph ComplexStr->Complex Rational Rational Rational->Real Rat Rat Rat->Cool Rat->Rational RatStr RatStr RatStr->Allomorph RatStr->Rat

展开上面的图表