Hold Types and functions work working with a given file type, like
html or js.
You can find examples of MimeTypeInfo in the function extensionMimeTypeMap.
Constructors
MimeTypeInfomimeTypeInfoContentType :: Q TypemimeTypeInfoRespType :: Q TypeA
Q Typerepresenting the type to use for the return vale of a Servant API. For instance, HTML files will use something like[t|Html|], while JavascriptFiles will use something like[t|ByteString|].mimeTypeInfoToExpression :: ByteString -> Q ExpA function that turns a ByteString into an Exp. For an example, look at htmlToExp and
byteStringtoExp.