Hello Huazhi,

Friday, December 1, 2006, 5:04:10 AM, you wrote:

> However, like I want to choose s[1,3,6,10] or something like this. Are there
> some straightforward function or operator for doing this job? The !!
> operator in haskell seems does not support multiple indecies.

just change your mind, Neo ;)

Hugs> map ("abcdefg" !!) [1,3,6]
"bdg" :: [Char]


-- 
Best regards,
 Bulat                            mailto:[EMAIL PROTECTED]

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to