[Haskell-cafe] Change value of a variable

ptrash ptrash at web.de
Sun Jun 7 15:44:18 EDT 2009


What i am exactly to do is this:

I have a list of pupils (type Pupil = (Name, Grade)) where I store the name
of the pupil and which grade he has. No I want to get the number (and
average number) of each grade. Something like 10 Pupils have a A (23%), 2
Pupils have a B ( 4 %) etc
-- 
View this message in context: http://www.nabble.com/Change-value-of-a-variable-tp23913404p23914558.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.



More information about the Haskell-Cafe mailing list