Improve item combination algorithm
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
|
||||
module Dodge.Data.ItemAmount where
|
||||
|
||||
newtype IcAmount = IcAmount {_toInt :: Int}
|
||||
deriving (Eq,Ord,Num,Integral,Real,Enum)
|
||||
instance Show IcAmount where
|
||||
show (IcAmount i) = 'x':show i
|
||||
Reference in New Issue
Block a user