Skip to content
This repository was archived by the owner on Aug 27, 2025. It is now read-only.

Conversation

@anton-trunov
Copy link
Contributor

  • Added monadic projections fstM and sndM
  • In MonadUtils
    let%bind foo = bar in
    pure foo
    refactored into
    let%map foo = bar in foo
    This is especially useful when there are several independent let%bind expressions in a row because let%map also reflects that.
  • Minor refactoring in Eval, this is mostly about using Env.bind_all because it's much easier to read compared to List.fold_left ....

@anton-trunov anton-trunov merged commit 221d7c7 into master Aug 26, 2020
@anton-trunov anton-trunov deleted the eval-minor-refactoring branch August 26, 2020 12:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants