
28 Mar
2010
28 Mar
'10
11:12 p.m.
Ah, just a character away. Thank you. Duane On Mar 28, 2010, at 9:21 PM, Ivan Miljenovic wrote:
On 29 March 2010 13:13, Duane Johnson
wrote: 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