aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz Grave <git@yannherklotzgrave.com>2019-02-20 16:49:10 +0000
committerYann Herklotz Grave <git@yannherklotzgrave.com>2019-02-20 16:49:10 +0000
commit733de0cfaac119c0e1a309014a1da4a3aeaad01d (patch)
tree75bf6f8e72b417aeff4a4d2f5017d54ed66ce313
parenta89296f3ff3b1bb2f82b28d6ece7d0ba6a98a9fe (diff)
downloadpfm-733de0cfaac119c0e1a309014a1da4a3aeaad01d.tar.gz
pfm-733de0cfaac119c0e1a309014a1da4a3aeaad01d.zip
Add type exports
-rw-r--r--pfm.cabal2
-rw-r--r--src/PFM.hs6
2 files changed, 6 insertions, 2 deletions
diff --git a/pfm.cabal b/pfm.cabal
index c36436f..63b292c 100644
--- a/pfm.cabal
+++ b/pfm.cabal
@@ -26,7 +26,7 @@ source-repository head
library
hs-source-dirs: src
default-language: Haskell2010
- ghc-options: -Wall
+ ghc-options: -Wall -Werror
exposed-modules: PFM
, PFM.Vec
build-depends: attoparsec
diff --git a/src/PFM.hs b/src/PFM.hs
index f0eff7e..3ec638e 100644
--- a/src/PFM.hs
+++ b/src/PFM.hs
@@ -10,7 +10,11 @@ Portability : POSIX
Debevec PFM reader
-}
-module PFM ( parse
+module PFM ( PFMImage(..)
+ , PPMImage(..)
+ , PFMColour(..)
+ , PPMColour(..)
+ , parse
, encode
, encodePPM
, module PFM.Vec) where