Skip to content

Commit

Permalink
Improve Nulls
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Ellis committed Apr 21, 2018
1 parent 5b5fc34 commit 6fb3c50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Doc/Tutorial/TutorialBasicTypeFamilies.lhs
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,13 @@ compatible with Opaleye!
> type instance Field H h o N = Maybe h
> type instance Field O h o NN = Column o
> type instance Field O h o N = Column (Nullable o)
> type instance Field Nulls h o n = Column (Nullable o)
>
> type instance TableField H h o n b = Field H h o n
> type instance TableField O h o n b = Field O h o n
> type instance TableField W h o n Req = Field O h o n
> type instance TableField W h o n Opt = Maybe (Field O h o n)
> type instance TableField Nulls h o n b = Column (Nullable o)
> type instance TableField Nulls h o n b = Field Nulls h o n
>
> -- Cryptic remark: If we were willing to only support 7.8 and up we
> -- could even have a symbol field containing the table name and use
Expand Down

0 comments on commit 6fb3c50

Please sign in to comment.