hakyll-4.16.2.0: A static website compiler library
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hakyll.Web.Pandoc.FileType

Description

A module dealing with pandoc file extensions and associated file types

Synopsis

Documentation

data FileType Source #

Datatype to represent the different file types Hakyll can deal with by default

Instances

Instances details
Read FileType Source # 
Instance details

Defined in Hakyll.Web.Pandoc.FileType

Methods

readsPrec :: Int -> ReadS FileType

readList :: ReadS [FileType]

readPrec :: ReadPrec FileType

readListPrec :: ReadPrec [FileType]

Show FileType Source # 
Instance details

Defined in Hakyll.Web.Pandoc.FileType

Methods

showsPrec :: Int -> FileType -> ShowS

show :: FileType -> String

showList :: [FileType] -> ShowS

Eq FileType Source # 
Instance details

Defined in Hakyll.Web.Pandoc.FileType

Methods

(==) :: FileType -> FileType -> Bool

(/=) :: FileType -> FileType -> Bool

Ord FileType Source # 
Instance details

Defined in Hakyll.Web.Pandoc.FileType

Methods

compare :: FileType -> FileType -> Ordering

(<) :: FileType -> FileType -> Bool

(<=) :: FileType -> FileType -> Bool

(>) :: FileType -> FileType -> Bool

(>=) :: FileType -> FileType -> Bool

max :: FileType -> FileType -> FileType

min :: FileType -> FileType -> FileType

fileType :: FilePath -> FileType Source #

Get the file type for a certain file. The type is determined by extension.

itemFileType :: Item a -> FileType Source #

Get the file type for the current file