Skip to content

Categories

[Source]

Operations on the Category union. The _all array is generated by unicode-build alongside the rest of the closed-union enumeration arrays — tests can iterate all 30 variants without hand-maintaining the list (see design/candidate-v3.md Adj-23).

primitive val Categories

Constructors

create

[Source]

new val create()
: Categories val^

Returns


Public Functions

from_iso

[Source]

Look up a category by its two-letter ISO identifier (case-sensitive). Returns None for unrecognized input. Total over its input.

fun box from_iso(
  s: String box)
: (Category | None val)

Parameters

Returns


eq

[Source]

fun box eq(
  that: Categories val)
: Bool val

Parameters

Returns


ne

[Source]

fun box ne(
  that: Categories val)
: Bool val

Parameters

Returns