Effect CommunityEC
Effect Community3y ago
10 replies
jessekelly

Requiring One of Two Contexts for an Effect

Random question, and sorry if this is super obvious and I'm missing something jaja. How would I go about requiring 1 of 2 Contexts for an Effect? I.e. where providing either context A or context B is sufficient. Is this possible/a good idea or would it be better to just use a tagged union within a single context?
Was this page helpful?