Last active
September 14, 2015 12:30
-
-
Save bjartwolf/d1bf94521f48ae74809b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let takeSkip2 (s: IEnumerable<byte>) (n: int) : (byte[] * IEnumerable<byte>) = | |
let c = Seq.cache s | |
(c |> Seq.truncate n |> Seq.toArray, c |> Seq.skip n) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment