Created
March 4, 2014 01:46
-
-
Save GEverding/9338718 to your computer and use it in GitHub Desktop.
This file contains 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 Artist = Artist { name :: Text | |
, url :: Text | |
, description :: Text | |
, imaage :: Text | |
, socialMedia :: [SocialMedia] | |
} deriving (Show, Eq) | |
data SocialMedia a = SocialMedia { username :: Text | |
, meta :: Text | |
} deriving (Show) | |
data SocialMeediaKind = Bandcamp | |
| Soundcloud | |
| YouTube | |
deriving (Show, Enum, Eq) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment