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

Refactor the implementation of the typechecker into monadic one #364

Merged
merged 11 commits into from
Oct 10, 2022

Conversation

gfngfn
Copy link
Owner

@gfngfn gfngfn commented Oct 9, 2022

No description provided.

@gfngfn gfngfn marked this pull request as ready for review October 9, 2022 12:50
src/myUtil.ml Outdated
@@ -104,6 +104,26 @@ module ResultMonad = struct
let return v = Ok(v)

let err e = Error(e)

let ( let+ ) = ( >>= )
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Owner Author

Choose a reason for hiding this comment

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

Thanks! I will replace let+ with that.

@gfngfn gfngfn merged commit 64f6887 into dev-0-1-0 Oct 10, 2022
@gfngfn gfngfn deleted the dev-0-1-0-refactor-typechecker-into-monadic branch April 7, 2024 17:49
@gfngfn gfngfn mentioned this pull request Apr 7, 2024
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.

None yet

2 participants