Skip to content

Comments

Added rough readme for multiverb's AsUnion.#2554

Merged
elland merged 2 commits intodevelopfrom
as-union-docs
Jul 13, 2022
Merged

Added rough readme for multiverb's AsUnion.#2554
elland merged 2 commits intodevelopfrom
as-union-docs

Conversation

@elland
Copy link
Contributor

@elland elland commented Jul 12, 2022

Hoping to jump-start some documentation for the Multiverb infrastructure. Since I hit an issue trying to implement AsUnion for a nested sum type, after pairing on it with @smatting, we arrived at the following self-contained example.

Improvement suggestions are appreciated. :)

Checklist

  • The PR Title explains the impact of the change.
  • The PR description provides context as to why the change should occur and what the code contributes to that effect. This could also be a link to a JIRA ticket or a Github issue, if there is one.

@elland elland temporarily deployed to cachix July 12, 2022 13:51 Inactive
Copy link
Contributor

@supersven supersven left a comment

Choose a reason for hiding this comment

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

I'm wondering if it wouldn't be better to add code examples to the Haddock of the used types and functions? At least, that's where I would look first... 🤔

@elland
Copy link
Contributor Author

elland commented Jul 13, 2022

I'm wondering if it wouldn't be better to add code examples to the Haddock of the used types and functions? At least, that's where I would look first... 🤔

I considered that too, but wasn't sure :)

@elland elland temporarily deployed to cachix July 13, 2022 12:38 Inactive
@elland elland temporarily deployed to cachix July 13, 2022 12:39 Inactive
@elland elland merged commit 250728a into develop Jul 13, 2022
@elland elland deleted the as-union-docs branch July 13, 2022 13:53
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.

2 participants