summaryrefslogtreecommitdiff
path: root/src/Hakyll/Core/Resource.hs
blob: d60fda9860de3530dad221ab2aee6fb76328bfec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
-- | Module exporting the simple 'Resource' type
--
module Hakyll.Core.Resource
    ( Resource (..)
    ) where

import Hakyll.Core.Identifier

-- | A resource
--
-- Invariant: the resource specified by the given identifier must exist
--
newtype Resource = Resource {unResource :: Identifier}
                 deriving (Eq, Show, Ord)