Difference between revisions of "Talk:99 questions/Solutions/18"

From HaskellWiki
Jump to navigation Jump to search
(New page: Hi. I'm wondering if this solution still works in the current Haskell version. <haskell> slice xs (i+1) k = snd (split (fst (split xs k)) i) </haskell>)
(No difference)

Revision as of 03:05, 2 June 2011

Hi. I'm wondering if this solution still works in the current Haskell version.

slice xs (i+1) k = snd (split (fst (split xs k)) i)