1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
{-# LANGUAGE DeriveGeneric #-} module Model.SkillType where import GHC.Generics import Data.Yaml import Model.Translated data SkillType = SkillType { name :: Translated , skills :: [Translated] } deriving (Show, Read, Eq, Generic) instance FromJSON SkillType