On 29 March 2010 13:13, Duane Johnson <duane.johnson@gmail.com> wrote:How can I parameterize the type of the following data class so that any typecan be a Candidate?data Poll = Poll [Candidate] [Ballot]
data Poll a = Poll [a] [Ballot]data Poll = Poll [a] [Ballot]
So close...
--
Ivan Lazar Miljenovic
Ivan.Miljenovic@gmail.com
IvanMiljenovic.wordpress.com