Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

chore: get rid of Name and refactor #13

Merged
merged 2 commits into from
Oct 28, 2022
Merged

chore: get rid of Name and refactor #13

merged 2 commits into from
Oct 28, 2022

Conversation

harrysolovay
Copy link
Contributor

This PR removes the Name type, which was previously used to hide exorbitantly-long signatures with a pretty, effect-specific name. Since we now flatten all signatures into a single Effect type, this is no longer necessary.

Some other minor changes:

  • Renaming core dir to effects (we can reorganize further as we create more)
  • as method attached to Effect for producing same effect with narrowed T
  • access method attached to Effect for producing new effect to resolve specified index of result

Effect.ts Outdated Show resolved Hide resolved
@harrysolovay harrysolovay merged commit f75d610 into main Oct 28, 2022
@harrysolovay harrysolovay deleted the refactoring branch October 28, 2022 17:06
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.

2 participants