@@ -1,5 +1,6 @@
11{-# LANGUAGE DeriveFunctor #-}
22{-# LANGUAGE DeriveDataTypeable #-}
3+{-# LANGUAGE GeneralisedNewtypeDeriving #-}
34-- | Module with newtypes suitable to usage with @DerivingVia@ or standalone.
45--
56-- The newtypes are named after packages they wrap.
@@ -37,7 +38,7 @@ import qualified Data.Aeson as Aeson
3738--
3839-- @since 0.6.3
3940newtype Aeson a = Aeson a
40− deriving (Eq, Show, Read, Typeable, Functor)
41+ deriving (Eq, Ord, Show, Read, Typeable, Functor, Aeson.FromJSON, Aeson.ToJSON)
4142
4243getAeson :: Aeson a -> a
4344getAeson (Aeson a) = a