std.byte

An 8-bit unsigned integer.

Values

let additive : {
    semigroup : std.semigroup.Semigroup Byte,
    monoid : std.monoid.Monoid Byte,
    group : std.group.Group Byte
}

let multiplicative : { semigroup : std.semigroup.Semigroup Byte, monoid : std.monoid.Monoid Byte }

let eq : std.cmp.Eq Byte

Eq a defines equality (==) on a

let ord : std.cmp.Ord Byte

Ord a defines an ordering on a

let num : std.num.Num Byte

The basic operation on numbers. Defined for both the primitive type Int and Float

let show : std.show.Show Byte

Show a represents a conversion function from a to a readable string.

let min_value : Byte

let max_value : Byte

let count_ones : Byte -> Int

let count_zeros : Byte -> Int

let leading_zeros : Byte -> Int

let trailing_zeros : Byte -> Int

let rotate_left : Byte -> Int -> Byte

let rotate_right : Byte -> Int -> Byte

let swap_bytes : Byte -> Byte

let from_be : Byte -> Byte

let from_le : Byte -> Byte

let to_be : Byte -> Byte

let to_le : Byte -> Byte

let pow : Byte -> Int -> Byte

let from_int : Int -> Byte

let parse : String -> std.types.Result () Byte