[Haskell-beginners] Again on list manipulations

Lorenzo Isella lorenzo.isella at gmail.com
Fri Sep 10 11:12:27 EDT 2010

On 09/10/2010 05:03 PM, Alex Rozenshteyn wrote:

> alternatively (and more cleanly),
>  > results = map (ml !) sel

Thanks Alex. I am left with this problem only: the entries of sel are 
(in my code) Integer rather than Int so...I get an error message when 
compiling sine "!!" (I believe you left out a "!") expects an Int 
instead of an Integer.
Any idea about how to fix this without converting sel from Integer to Int?
Many thanks


More information about the Beginners mailing list