Use newtype.

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

View File

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