Difference between revisions of "Talk:99 questions/11 to 20"

From HaskellWiki
Jump to: navigation, search
(No difference)

Revision as of 17:40, 16 January 2007

I made an edit to this page. I removed the following solution to problem 18:

slice xs i j = [xs!!(i-1)..xs!!(j-1)]

Counter-example:

slice [1,3,6,3,1,6,7,8,3,2,4,76,8] 4 5 == []

Thanks to pixel for pointing this out.