Talk:99 questions/11 to 20
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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.