Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Add EffectMapping.makeInout & rename Effect.none to .empty #14

Merged
merged 2 commits into from
Oct 20, 2019

Conversation

inamiy
Copy link
Owner

@inamiy inamiy commented Oct 20, 2019

This PR adds EffectMapping.makeInout as inout-based initializer for easier mapping implementation.

But to achieve this, EffectMapping.makeInout argument's return type will have Optional<Effect> where current implementation has Effect.none with ExpressibleByNilLiteral which becomes ambiguous to Optional, so I renamed Effect.none to .empty, and removed ExpressibleByNilLiteral.

@inamiy inamiy merged commit 7c61798 into master Oct 20, 2019
@inamiy inamiy deleted the EffectMapping-makeInout branch October 20, 2019 10:05
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.

None yet

1 participant