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

Use the monad definition in CoqOfRust.v #105

Closed
clarus opened this issue Jul 3, 2023 · 0 comments · Fixed by #109
Closed

Use the monad definition in CoqOfRust.v #105

clarus opened this issue Jul 3, 2023 · 0 comments · Fixed by #109
Assignees

Comments

@clarus
Copy link
Collaborator

clarus commented Jul 3, 2023

For now, in https://github.com/formal-land/coq-of-rust/blob/main/CoqOfRust/CoqOfRust.v , the definition of the monad is:

Module M.
  Parameter M : Set -> Set.
  Parameter Pure : forall {a : Set}, a -> M a.
  Parameter bind : forall {a b : Set}, M a -> (a -> M b) -> M b.

Use the definition from the file https://github.com/formal-land/coq-of-rust/blob/main/CoqOfRust/experiments/MonadExperiments.v instead. To use definitions from this file, either do a copy&paste or import these definitions from a separate file.

Many technical difficulties might appear when doing this integration.

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

Successfully merging a pull request may close this issue.

2 participants