Skip to content

Conversation

@knocte
Copy link
Contributor

@knocte knocte commented Jan 7, 2026

This way it is an alternative to Seq.skip: same but
non-partial function (that doesn't throw exceptions),
following same approach as tryHeadTail[1].

[1] fdbeaf2

knocte added 7 commits January 7, 2026 18:18
This way it is an alternative to Seq.skip: same but
non-partial function (that doesn't throw exceptions),
following same approach as tryHeadTail[1].

[1] fdbeaf2
This way the compiler will make sure that this recursive
function will not cause stackoverflows.
Because the oldest version of .NET that includes the TailCall
attribute is 8.x (and anyway 6.x is out of support now).
@knocte
Copy link
Contributor Author

knocte commented Jan 7, 2026

@gdziadkiewicz hey do you mind helping me upgrade paket (and paket deps) from v6 to v8? I'm not a paket expert, I just replaced net6.0 with net8.0 and upgraded paket version (see last commit), but seems that is not enough (see build failure).

@gdziadkiewicz
Copy link
Collaborator

Hi @knocte , no problem, I will take a look tomorrow morning :)

@gdziadkiewicz
Copy link
Collaborator

Hi @knocte , let's keep the update and the trySkip separate. I prepared the update in #224 .

@knocte
Copy link
Contributor Author

knocte commented Jan 9, 2026

Lovely thanks; sounds good, I'll rebase as soon as 224 lands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants