<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><div style="text-align: left;">Hi, its Ryan here...<br><br>I've just come from an intensive course in java and have been thrown into the imperative world of haskell. <br><br>The problem that I have is extremely simple in java but I am having trouble adjusting my old mindset. <br><br>A multiset is a collection of items. <br>Each item may occur one or more times in the multiset. All items are of the same type. <br><br>The scenario we could use is a students' grades for their A levels: 3A, 4B and 2C grades for our pupil 'x'. <br>A multiset may be implemented by a list... so ['A', 'A', 'A', 'B', 'B', 'B', 'B, 'C', 'C'] but this very ineffiecient and tedious. <br><br>How might one set out into putting this into action.... thanks...<br><br>Any help that complements my ideas is welcome<br></div><br /><hr />Do you know a place like the back of your hand? Share local knowledge with  <a href='http://www.backofmyhand.com' target='_new'>BackOfMyHand.com</a></body>
</html>