
28 Mar
2010
28 Mar
'10
10:21 p.m.
On 29 March 2010 13:13, Duane Johnson
How can I parameterize the type of the following data class so that any type can 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