Skip to content

Commit 6fb3c50

Browse files
author
Tom Ellis
committed
Improve Nulls
1 parent 5b5fc34 commit 6fb3c50

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/Tutorial/TutorialBasicTypeFamilies.lhs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,12 +145,13 @@ compatible with Opaleye!
145145
> type instance Field H h o N = Maybe h
146146
> type instance Field O h o NN = Column o
147147
> type instance Field O h o N = Column (Nullable o)
148+
> type instance Field Nulls h o n = Column (Nullable o)
148149
>
149150
> type instance TableField H h o n b = Field H h o n
150151
> type instance TableField O h o n b = Field O h o n
151152
> type instance TableField W h o n Req = Field O h o n
152153
> type instance TableField W h o n Opt = Maybe (Field O h o n)
153-
> type instance TableField Nulls h o n b = Column (Nullable o)
154+
> type instance TableField Nulls h o n b = Field Nulls h o n
154155
>
155156
> -- Cryptic remark: If we were willing to only support 7.8 and up we
156157
> -- could even have a symbol field containing the table name and use

0 commit comments

Comments
 (0)