-- | Module exporting the simple 'Resource' type--moduleHakyll.Core.Resource(Resource,unResource,resource,fromIdentifier,toIdentifier)whereimportHakyll.Core.Identifier-- | A resource--newtypeResource=Resource{unResource::FilePath}deriving(Eq,Show,Ord)-- | Smart constructor to ensure we have @/@ as path separator--resource::FilePath->Resourceresource=fromIdentifier.parseIdentifier-- | Create a resource from an identifier--fromIdentifier::Identifiera->ResourcefromIdentifier=Resource.toFilePath-- | Map the resource to an identifier. Note that the group will not be set!--toIdentifier::Resource->IdentifieratoIdentifier=parseIdentifier.unResource