I'm trying to define a polymorphic list of tuples without using any imports.
i have data ListT a = [(a,String)]
deriving (Eq,Ord,Read,Show)
but it keeps giving the error "cannot parse data constructor in a data/newtype declaration: [(a,String)]"
What does this error mean, and how do I prevent it. Thanks
type ListT a = [(a, String)]?