Skip to content

raise2Under and raise3Under#369

Merged
googleson78 merged 1 commit intopolysemy-research:masterfrom
tek:raise2Under
Jul 28, 2020
Merged

raise2Under and raise3Under#369
googleson78 merged 1 commit intopolysemy-research:masterfrom
tek:raise2Under

Conversation

@tek
Copy link
Copy Markdown
Member

@tek tek commented Jul 28, 2020

These combinators are like raiseUnder, but place the new effect at the
second and third position in the list.

This is for interpreters that consume two effects, delegating to two other interpreters, who share a dependency which is then interpreted by the outer interpreter.

Please advise on what else to do, naming, general sense and so on!

These combinators are like raiseUnder, but place the new effect at the
second and third position in the list.
@TheMatten TheMatten added the enhancement New feature or request label Jul 28, 2020
@TheMatten
Copy link
Copy Markdown
Collaborator

relevant discussion

Copy link
Copy Markdown
Collaborator

@KingoftheHomeless KingoftheHomeless left a comment

Choose a reason for hiding this comment

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

The names are unfortunate. The raiseNUnder and raiseUnderN functions should have their names swapped. Unfortunately, we can't do that since it could cause very nefarious breakage. Perhaps for 2.0. For the moment, this is good enough.

@googleson78 googleson78 merged commit b9c551f into polysemy-research:master Jul 28, 2020
@tek tek deleted the raise2Under branch July 28, 2020 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants