Source

haskellblog / src / Category.hs

Full commit
1
2
3
4
5
6
7
8
9
module Category where
{

    data Category = Category { id :: Int,
                               name :: String,
                               slug :: String
                             } deriving (Show, Eq)

}