[Haskell-cafe] music-related problem

Michael Mossey mpm at alumni.caltech.edu
Sun Jul 4 15:19:54 EDT 2010

Henning Thielemann wrote:
> On Sun, 4 Jul 2010, Michael Mossey wrote:
>> I can solve a simpler problem which is
>> computeSoundedEnd :: Item -> [Item] -> Loc
>> computeSoundedEnd firstNote notes = compSndEnd (pitch firstNote) notes

> You will certainly not be able to make use of foldl or foldr, but you 
> may use a manual recursion instead. Just like
> computeAllEnds :: [Item] -> [Item]

What makes it harder than this is that the original document is not a 
single list of Item's--they are broken into measures.


More information about the Haskell-Cafe mailing list