Add Read instances
This commit is contained in:
@@ -2,6 +2,6 @@
|
||||
module Dodge.Data.ItemAmount where
|
||||
|
||||
newtype IcAmount = IcAmount {_toInt :: Int}
|
||||
deriving (Eq,Ord,Num,Integral,Real,Enum)
|
||||
deriving (Eq,Ord,Num,Integral,Real,Enum,Read)
|
||||
instance Show IcAmount where
|
||||
show (IcAmount i) = 'x':show i
|
||||
|
||||
Reference in New Issue
Block a user