I am attempting to create a Persistent type that is modeled something like:
MyModel
something Text
somethingElse [Int]
and I get an error:
Illegal type constructor or class name: `[Int]' When splicing a TH declaration: data MyModel = MyModel {myModelSomething :: Text, myModelSomethingElse :: [Int]} deriving (Show, Read, Eq)
Any help is appreciated.