Talk:99 questions/11 to 20
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.
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.