From 0fe906ae7453aa684e998bbcc7a78b62d84f0206 Mon Sep 17 00:00:00 2001 From: Joris Guyonvarch Date: Sun, 6 Apr 2014 22:55:16 +0200 Subject: Show resume and projects from a configuration file --- src/Model/Identity.hs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/Model/Identity.hs (limited to 'src/Model/Identity.hs') diff --git a/src/Model/Identity.hs b/src/Model/Identity.hs new file mode 100644 index 0000000..fb640fa --- /dev/null +++ b/src/Model/Identity.hs @@ -0,0 +1,14 @@ +{-# LANGUAGE DeriveGeneric #-} + +module Model.Identity where + +import Data.Yaml +import GHC.Generics + +data Identity = Identity + { name :: String + , website :: String + , git :: String + } deriving (Show, Read, Eq, Generic) + +instance FromJSON Identity -- cgit v1.2.3