Note that there is no Seq.tl due to performance/semantics, see

[link:cs.hubfs.net]

and

[link:cs.hubfs.net]

for more details.

By on 1/9/2009 12:05 PM ()

Hi Sanatan,

You can use Seq.skip. Here's an example:

let s = Seq.init_finite 10 (fun x -> x)

let t = s |> Seq.skip 1

You can also create your own Seq.tl function:

module Seq = let tl (s:'a seq) = Seq.skip 1 s

And then use it like so:

let yy = Seq.tl s

Hope this helps.

-Murat

By on 1/9/2009 10:42 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper