Use newtype.

This commit is contained in:
Kei Hibino 2013-08-28 09:46:09 +09:00
parent eef1aa6bdc
commit 1d3d14a376

View File

@ -34,7 +34,8 @@ import qualified Language.SQL.Keyword as SQL
-- | JoinContext type for QueryJoin. -- | JoinContext type for QueryJoin.
data JoinContext = JoinContext newtype JoinContext =
JoinContext
{ product :: Maybe QueryProductNode } { product :: Maybe QueryProductNode }
-- | Initial 'JoinContext'. -- | Initial 'JoinContext'.