Skip to content

What does the NonEmpty String list contain in namesFromLabelsWith? #279

Answered by shane-circuithub
sir4ur0n asked this question in Q&A
Discussion options

You must be logged in to vote

If you have a Rel8able like:

data Foo f = Foo
  { a :: Column f Bool
  , b :: Column f Char
  }
  deriving (Generic, Rel8able)

data Bar f = Bar
  { foo1 :: Foo f
  , foo2 :: Foo f
  }
  deriving (Generic, Rel8able)

Then the argument passed to namesFromLabelsWith will contain things like ["foo1", "a"], ["foo1", "b"], ["foo2", "a"], ["foo2", "b"].

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@sir4ur0n
Comment options

@ocharles
Comment options

@sir4ur0n
Comment options

@ocharles
Comment options

Answer selected by ocharles
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #276 on October 06, 2023 13:12.