parameterized-utils-2.0.1.0: Classes and data structures for working with data-kind indexed types

Copyright(c) Galois Inc 2019
Safe HaskellSafe
LanguageHaskell98

Data.Parameterized.Utils.Endian

Description

 
Synopsis

Documentation

data Endian Source #

Determines the composition of smaller numeric values into larger values.

BigEndian = most significant values in the lowest index location / first LittleEndian = least significant values in the lowest index location / first

Value: 0x01020304 BigEndian = [ 0x01, 0x02, 0x03, 0x04 ] LittleEndian = [ 0x04, 0x03, 0x02, 0x01 ]

Constructors

LittleEndian 
BigEndian 
Instances
Eq Endian Source # 
Instance details

Defined in Data.Parameterized.Utils.Endian

Methods

(==) :: Endian -> Endian -> Bool #

(/=) :: Endian -> Endian -> Bool #

Ord Endian Source # 
Instance details

Defined in Data.Parameterized.Utils.Endian

Show Endian Source # 
Instance details

Defined in Data.Parameterized.Utils.Endian