mirror of
https://github.com/khibino/haskell-relational-record.git
synced 2024-12-14 22:32:07 +03:00
Use newtype.
This commit is contained in:
parent
eef1aa6bdc
commit
1d3d14a376
@ -34,7 +34,8 @@ import qualified Language.SQL.Keyword as SQL
|
||||
|
||||
|
||||
-- | JoinContext type for QueryJoin.
|
||||
data JoinContext = JoinContext
|
||||
newtype JoinContext =
|
||||
JoinContext
|
||||
{ product :: Maybe QueryProductNode }
|
||||
|
||||
-- | Initial 'JoinContext'.
|
||||
|
Loading…
Reference in New Issue
Block a user