Permalink
Browse files

Split Types/Internal.hs into 3 files.

--HG--
rename : Data/Aeson/Types/Internal.hs => Data/Aeson/Types/Class.hs
rename : Data/Aeson/Types/Internal.hs => Data/Aeson/Types/Generic.hs
  • Loading branch information...
1 parent 4ab35fa commit ff8a7d397992ede33ad454270f801c9d9dfdbc47 @bos committed Nov 4, 2011
Showing with 991 additions and 922 deletions.
  1. +1 −1 Data/Aeson/Generic.hs
  2. +7 −0 Data/Aeson/Types.hs
  3. +725 −0 Data/Aeson/Types/Class.hs
  4. +248 −0 Data/Aeson/Types/Generic.hs
  5. +5 −921 Data/Aeson/Types/Internal.hs
  6. +5 −0 aeson.cabal
View
@@ -1,4 +1,4 @@
-{-# LANGUAGE PatternGuards, RankNTypes, ScopedTypeVariables #-}
+{-# LANGUAGE PatternGuards, Rank2Types, ScopedTypeVariables #-}
-- |
-- Module: Data.Aeson.Generic
View
@@ -1,3 +1,5 @@
+{-# LANGUAGE CPP #-}
+
-- |
-- Module: Data.Aeson.Types
-- Copyright: (c) 2011 MailRank, Inc.
@@ -36,4 +38,9 @@ module Data.Aeson.Types
, object
) where
+import Data.Aeson.Types.Class
import Data.Aeson.Types.Internal
+
+#ifdef GENERICS
+import Data.Aeson.Types.Generic ()
+#endif
Oops, something went wrong.

0 comments on commit ff8a7d3

Please sign in to comment.