mirror of
https://github.com/khibino/haskell-relational-record.git
synced 2024-12-15 06:43:04 +03:00
Use newtype.
This commit is contained in:
parent
eef1aa6bdc
commit
1d3d14a376
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user