Files
loop/src/Dodge/Data/ItemAmount.hs
T
2022-07-22 01:06:35 +01:00

8 lines
236 B
Haskell

{-# LANGUAGE GeneralizedNewtypeDeriving #-}
module Dodge.Data.ItemAmount where
newtype IcAmount = IcAmount {_toInt :: Int}
deriving (Eq,Ord,Num,Integral,Real,Enum,Read)
instance Show IcAmount where
show (IcAmount i) = 'x':show i