Skip to content

Instantly share code, notes, and snippets.

@GEverding
Created March 4, 2014 01:46
Show Gist options
  • Save GEverding/9338718 to your computer and use it in GitHub Desktop.
Save GEverding/9338718 to your computer and use it in GitHub Desktop.
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