diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-12-28 11:12:45 +0100 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-12-28 11:12:45 +0100 |
commit | 27ff2eef890d86001c0210dd2d20639d34fbd32c (patch) | |
tree | 8a6c7fcce735ce99d49e7511f8bac0b8829a70a2 /src/Hakyll/Web/FileType.hs | |
parent | 6ffb83d46f0e1e82c38fa959464a98f6087f417f (diff) | |
download | hakyll-27ff2eef890d86001c0210dd2d20639d34fbd32c.tar.gz |
Use Typeable instead of ADT
Diffstat (limited to 'src/Hakyll/Web/FileType.hs')
-rw-r--r-- | src/Hakyll/Web/FileType.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Hakyll/Web/FileType.hs b/src/Hakyll/Web/FileType.hs index 4da1439..a958fed 100644 --- a/src/Hakyll/Web/FileType.hs +++ b/src/Hakyll/Web/FileType.hs @@ -51,5 +51,5 @@ fileType = fileType' . takeExtension -- | Get the file type for the current file -- -getFileType :: TargetM a FileType +getFileType :: TargetM FileType getFileType = fileType . toFilePath <$> getIdentifier |