Created
August 20, 2013 14:26
-
-
Save unarist/6282074 to your computer and use it in GitHub Desktop.
アイカツカード.hs。試しに書いてみたけどreadやshowを手書きしたくないわこれ・・・
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data GameVersion = Vol1 | Vol2 | Vol3 | Vol4 | Vol5 | Vol6 | Promotion | |
deriving Eq | |
data AppearType = Cute | Cool | Sexy | Pop | |
deriving Eq | |
data CardCategory = Tops | Bottoms | Onepiece | Shoes | Accessory | |
deriving Eq | |
data CardBrand = AngelySugar | FuturingGirl | SpicyAgeha | HappyRainbow | |
| LoliGothic | AuroraFantasy | LoveQueen | MagicalToy | |
deriving Eq | |
data CardRarelity = Normal | Rare | PremiumRare | CampaignRare | |
deriving Eq | |
data Card = Card { | |
cardId :: Text, | |
cardEdition ::- | |
cardName :: Text, | |
cardType :: Maybe AppearType, | |
cardCategory :: CardCategory, | |
cardBrand :: Maybe CardBrand, | |
cardRarelity :: Maybe CardRarelity, | |
cardStars :: Int, | |
cardDressAppear :: Maybe Text, | |
cardAppearPoint :: Int, | |
cardEffect :: Maybe Text | |
cardSources :: [(Text, Maybe Text)] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment