Home
src
Ascii
from_chars
to_chars
from_str
to_str
from_ascii_bytes
to_ascii_bytes
is_eq
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
rev
sort_asc
sort_desc
Char
from_ascii_byte
to_ascii_byte
is_eq
compare
sort_asc
sort_desc
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
all
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
Ascii
.
from_chars
:
List
(
Char
)
->
Ascii
Ascii
.
to_chars
:
Ascii
->
List
(
Char
)
Ascii
.
from_str
:
Str
->
Try
(
Ascii
, [
InvalidAscii
])
Ascii
.
to_str
:
Ascii
->
Str
Ascii
.
from_ascii_bytes
:
List
(
U8
)
->
Try
(
Ascii
, [
InvalidAscii
])
Ascii
.
to_ascii_bytes
:
Ascii
->
List
(
U8
)
Ascii
.
is_eq
:
Ascii
,
Ascii
->
Bool
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
->
Try
(
Dec
, [
BadNumStr
])
Ascii
.
to_f64
:
Ascii
->
Try
(
F64
, [
BadNumStr
])
Ascii
.
to_f32
:
Ascii
->
Try
(
F32
, [
BadNumStr
])
Ascii
.
to_u128
:
Ascii
->
Try
(
U128
, [
BadNumStr
])
Ascii
.
to_i128
:
Ascii
->
Try
(
I128
, [
BadNumStr
])
Ascii
.
to_u64
:
Ascii
->
Try
(
U64
, [
BadNumStr
])
Ascii
.
to_i64
:
Ascii
->
Try
(
I64
, [
BadNumStr
])
Ascii
.
to_u32
:
Ascii
->
Try
(
U32
, [
BadNumStr
])
Ascii
.
to_i32
:
Ascii
->
Try
(
I32
, [
BadNumStr
])
Ascii
.
to_u16
:
Ascii
->
Try
(
U16
, [
BadNumStr
])
Ascii
.
to_i16
:
Ascii
->
Try
(
I16
, [
BadNumStr
])
Ascii
.
to_u8
:
Ascii
->
Try
(
U8
, [
BadNumStr
])
Ascii
.
to_i8
:
Ascii
->
Try
(
I8
, [
BadNumStr
])
Ascii
.
len
:
Ascii
->
U64
Ascii
.
rev
:
Ascii
->
Ascii
Ascii
.
sort_asc
:
List
(
Ascii
)
->
List
(
Ascii
)
Ascii
.
sort_desc
:
List
(
Ascii
)
->
List
(
Ascii
)
Char
.
from_ascii_byte
:
U8
->
Try
(
Char
, [
InvalidAscii
])
Char
.
to_ascii_byte
:
Char
->
U8
Char
.
is_eq
:
Char
,
Char
->
Bool
Char
.
compare
:
Char
,
Char
->
[
LT
,
EQ
,
GT
]
Char
.
sort_asc
:
List
(
Char
)
->
List
(
Char
)
Char
.
sort_desc
:
List
(
Char
)
->
List
(
Char
)
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
.
all
:
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