Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ToField instance for () #49

Open
Shou opened this issue Jul 3, 2016 · 1 comment
Open

ToField instance for () #49

Shou opened this issue Jul 3, 2016 · 1 comment
Assignees

Comments

@Shou
Copy link

Shou commented Jul 3, 2016

I think it'd make sense to have a null instance for () for convenience, despite Null existing.

instance ToField () where
    toField _ = Base.SQLNull
    {-# INLINE toField #-}
@sigrlami sigrlami self-assigned this Feb 27, 2020
@aryairani
Copy link

What about Nothing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants