Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Porting to 8.15 #9

Closed
wants to merge 3 commits into from
Closed

Conversation

MevenBertrand
Copy link
Contributor

Mostly to get a CI run.

@MevenBertrand MevenBertrand marked this pull request as draft January 23, 2024 19:00
@MevenBertrand MevenBertrand marked this pull request as ready for review January 24, 2024 10:08
@@ -1,13 +1,13 @@
module ZipSeqAlternative = struct
type 'a t = 'a Stdlib.Seq.t

let zip xs ys () =
let rec zip xs ys () =

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this rec is ambiguous: for Stdlib version < 4.14, Stdlib.Seq.zip is not defined hence the recursive call is used, but in versions >= 4.14 the function zip is defined in the lib and this rec is unused... And similar for drop below.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it's been a source of confusion and back and forth issues… I am no OCaml expert, do you know how to disambiguate to give priority to the local recursively defined function? Or maybe we should drop (this part of) the monadic library, which seems to be stuck with 4.13?

@yforster
Copy link
Member

yforster commented Feb 1, 2024

done, I pushed your branch to this repo now

@yforster yforster closed this Feb 1, 2024
@MevenBertrand MevenBertrand deleted the coq-8.15 branch February 1, 2024 10:23
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.

3 participants