{-# LANGUAGE TemplateHaskell #-}

module Rattletrap.Type.Word8le
  ( Word8le(..)
  )
where

import Rattletrap.Type.Common

newtype Word8le = Word8le
  { Word8le -> Word8
word8leValue :: Word8
  } deriving (Word8le -> Word8le -> Bool
(Word8le -> Word8le -> Bool)
-> (Word8le -> Word8le -> Bool) -> Eq Word8le
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Word8le -> Word8le -> Bool
$c/= :: Word8le -> Word8le -> Bool
== :: Word8le -> Word8le -> Bool
$c== :: Word8le -> Word8le -> Bool
Eq, Eq Word8le
Eq Word8le
-> (Word8le -> Word8le -> Ordering)
-> (Word8le -> Word8le -> Bool)
-> (Word8le -> Word8le -> Bool)
-> (Word8le -> Word8le -> Bool)
-> (Word8le -> Word8le -> Bool)
-> (Word8le -> Word8le -> Word8le)
-> (Word8le -> Word8le -> Word8le)
-> Ord Word8le
Word8le -> Word8le -> Bool
Word8le -> Word8le -> Ordering
Word8le -> Word8le -> Word8le
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: Word8le -> Word8le -> Word8le
$cmin :: Word8le -> Word8le -> Word8le
max :: Word8le -> Word8le -> Word8le
$cmax :: Word8le -> Word8le -> Word8le
>= :: Word8le -> Word8le -> Bool
$c>= :: Word8le -> Word8le -> Bool
> :: Word8le -> Word8le -> Bool
$c> :: Word8le -> Word8le -> Bool
<= :: Word8le -> Word8le -> Bool
$c<= :: Word8le -> Word8le -> Bool
< :: Word8le -> Word8le -> Bool
$c< :: Word8le -> Word8le -> Bool
compare :: Word8le -> Word8le -> Ordering
$ccompare :: Word8le -> Word8le -> Ordering
$cp1Ord :: Eq Word8le
Ord, Int -> Word8le -> ShowS
[Word8le] -> ShowS
Word8le -> String
(Int -> Word8le -> ShowS)
-> (Word8le -> String) -> ([Word8le] -> ShowS) -> Show Word8le
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Word8le] -> ShowS
$cshowList :: [Word8le] -> ShowS
show :: Word8le -> String
$cshow :: Word8le -> String
showsPrec :: Int -> Word8le -> ShowS
$cshowsPrec :: Int -> Word8le -> ShowS
Show)

$(deriveJson ''Word8le)