Return to Roc packages
Documentation
Ascii
▶
Ascii
from_str
to_str
from_ascii_bytes
to_ascii_bytes
compare
is_empty
to_uppercase
to_lowercase
concat
join
join_with
repeat
starts_with
ends_with
to_dec
to_f64
to_f32
to_u128
to_i128
to_u64
to_i64
to_u32
to_i32
to_u16
to_i16
to_u8
to_i8
len
reverse
sort_asc
sort_desc
Char
▶
Char
from_ascii_byte
to_ascii_byte
compare
character_set
is_lowercase
is_uppercase
is_letter
is_digit
is_alphanumeric
is_oct_digit
is_hex_digit
is_whitespace
is_punctuation
is_control
is_printable
to_uppercase
to_lowercase
lowercase_alphabet
uppercase_alphabet
alphabet
digits
whitespace
punctuation
control
printable
nul
soh
stx
etx
eot
enq
ack
bel
bs
ht
lf
vt
ff
cr
so
si
dle
dc1
dc2
dc3
dc4
nak
syn
etb
can
em
sub
esc
fs
gs
rs
us
del
(press
s
)
Ascii
.
Ascii
Ascii
.
from_str
: Str -> Result Ascii [InvalidAscii]
Ascii
.
to_str
: Ascii -> Str
Ascii
.
from_ascii_bytes
: List U8 -> Result Ascii [InvalidAscii]
Ascii
.
to_ascii_bytes
: Ascii -> List U8
Ascii
.
compare
: Ascii, Ascii -> [ LT, EQ, GT ]
Ascii
.
is_empty
: Ascii -> Bool
Ascii
.
to_uppercase
: Ascii -> Ascii
Ascii
.
to_lowercase
: Ascii -> Ascii
Ascii
.
concat
: Ascii, Ascii -> Ascii
Ascii
.
join
: List Ascii -> Ascii
Ascii
.
join_with
: List Ascii, Ascii -> Ascii
Ascii
.
repeat
: Ascii, U64 -> Ascii
Ascii
.
starts_with
: Ascii, Ascii -> Bool
Ascii
.
ends_with
: Ascii, Ascii -> Bool
Ascii
.
to_dec
: Ascii -> Result Dec [InvalidNumStr]
Ascii
.
to_f64
: Ascii -> Result F64 [InvalidNumStr]
Ascii
.
to_f32
: Ascii -> Result F32 [InvalidNumStr]
Ascii
.
to_u128
: Ascii -> Result U128 [InvalidNumStr]
Ascii
.
to_i128
: Ascii -> Result I128 [InvalidNumStr]
Ascii
.
to_u64
: Ascii -> Result U64 [InvalidNumStr]
Ascii
.
to_i64
: Ascii -> Result I64 [InvalidNumStr]
Ascii
.
to_u32
: Ascii -> Result U32 [InvalidNumStr]
Ascii
.
to_i32
: Ascii -> Result I32 [InvalidNumStr]
Ascii
.
to_u16
: Ascii -> Result U16 [InvalidNumStr]
Ascii
.
to_i16
: Ascii -> Result I16 [InvalidNumStr]
Ascii
.
to_u8
: Ascii -> Result U8 [InvalidNumStr]
Ascii
.
to_i8
: Ascii -> Result I8 [InvalidNumStr]
Ascii
.
len
: Ascii -> U64
Ascii
.
reverse
: Ascii -> Ascii
Ascii
.
sort_asc
: List Ascii -> List Ascii
Ascii
.
sort_desc
: List Ascii -> List Ascii
Char
.
Char
Char
.
from_ascii_byte
: U8 -> Result Char [InvalidAscii]
Char
.
to_ascii_byte
: Char -> U8
Char
.
compare
: Char, Char -> [ LT, EQ, GT ]
Char
.
character_set
: Char -> [ LowercaseLetter, UppercaseLetter, Digit, Whitespace, Punctuation, Control ]
Char
.
is_lowercase
: Char -> Bool
Char
.
is_uppercase
: Char -> Bool
Char
.
is_letter
: Char -> Bool
Char
.
is_digit
: Char -> Bool
Char
.
is_alphanumeric
: Char -> Bool
Char
.
is_oct_digit
: Char -> Bool
Char
.
is_hex_digit
: Char -> Bool
Char
.
is_whitespace
: Char -> Bool
Char
.
is_punctuation
: Char -> Bool
Char
.
is_control
: Char -> Bool
Char
.
is_printable
: Char -> Bool
Char
.
to_uppercase
: Char -> Char
Char
.
to_lowercase
: Char -> Char
Char
.
lowercase_alphabet
: List Char
Char
.
uppercase_alphabet
: List Char
Char
.
alphabet
: List Char
Char
.
digits
: List Char
Char
.
whitespace
: List Char
Char
.
punctuation
: List Char
Char
.
control
: List Char
Char
.
printable
: List Char
Char
.
nul
: Char
Char
.
soh
: Char
Char
.
stx
: Char
Char
.
etx
: Char
Char
.
eot
: Char
Char
.
enq
: Char
Char
.
ack
: Char
Char
.
bel
: Char
Char
.
bs
: Char
Char
.
ht
: Char
Char
.
lf
: Char
Char
.
vt
: Char
Char
.
ff
: Char
Char
.
cr
: Char
Char
.
so
: Char
Char
.
si
: Char
Char
.
dle
: Char
Char
.
dc1
: Char
Char
.
dc2
: Char
Char
.
dc3
: Char
Char
.
dc4
: Char
Char
.
nak
: Char
Char
.
syn
: Char
Char
.
etb
: Char
Char
.
can
: Char
Char
.
em
: Char
Char
.
sub
: Char
Char
.
esc
: Char
Char
.
fs
: Char
Char
.
gs
: Char
Char
.
rs
: Char
Char
.
us
: Char
Char
.
del
: Char
Exposed Modules
LLM docs
Ascii
Char