{-# LANGUAGE TemplateHaskell #-}

module Rattletrap.Type.Word32le
  ( Word32le(..)
  )
where

import Rattletrap.Type.Common

newtype Word32le = Word32le
  { Word32le -> Word32
word32leValue :: Word32
  } deriving (Word32le -> Word32le -> Bool
(Word32le -> Word32le -> Bool)
-> (Word32le -> Word32le -> Bool) -> Eq Word32le
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Word32le -> Word32le -> Bool
$c/= :: Word32le -> Word32le -> Bool
== :: Word32le -> Word32le -> Bool
$c== :: Word32le -> Word32le -> Bool
Eq, Eq Word32le
Eq Word32le
-> (Word32le -> Word32le -> Ordering)
-> (Word32le -> Word32le -> Bool)
-> (Word32le -> Word32le -> Bool)
-> (Word32le -> Word32le -> Bool)
-> (Word32le -> Word32le -> Bool)
-> (Word32le -> Word32le -> Word32le)
-> (Word32le -> Word32le -> Word32le)
-> Ord Word32le
Word32le -> Word32le -> Bool
Word32le -> Word32le -> Ordering
Word32le -> Word32le -> Word32le
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 :: Word32le -> Word32le -> Word32le
$cmin :: Word32le -> Word32le -> Word32le
max :: Word32le -> Word32le -> Word32le
$cmax :: Word32le -> Word32le -> Word32le
>= :: Word32le -> Word32le -> Bool
$c>= :: Word32le -> Word32le -> Bool
> :: Word32le -> Word32le -> Bool
$c> :: Word32le -> Word32le -> Bool
<= :: Word32le -> Word32le -> Bool
$c<= :: Word32le -> Word32le -> Bool
< :: Word32le -> Word32le -> Bool
$c< :: Word32le -> Word32le -> Bool
compare :: Word32le -> Word32le -> Ordering
$ccompare :: Word32le -> Word32le -> Ordering
$cp1Ord :: Eq Word32le
Ord, Int -> Word32le -> ShowS
[Word32le] -> ShowS
Word32le -> String
(Int -> Word32le -> ShowS)
-> (Word32le -> String) -> ([Word32le] -> ShowS) -> Show Word32le
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Word32le] -> ShowS
$cshowList :: [Word32le] -> ShowS
show :: Word32le -> String
$cshow :: Word32le -> String
showsPrec :: Int -> Word32le -> ShowS
$cshowsPrec :: Int -> Word32le -> ShowS
Show)

$(deriveJson ''Word32le)