Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
To allow to compose, manipulate and read spell incantation options afte the initial creation, two new types will be added for the spell packages [1]: - <I> `spell.Options` - A `interface` type as a generic representation for `spell.Incantation` options. - <I> `spell.Mixin` - A `interface` type that allows to compose functions that process `spell.Options` of `spell.Incantation`s. - `Apply(Options) (Options, error)` - applies generic `spell.Options` to `spell.Incantation` options. [1]: https://pkg.go.dev/github.com/svengreb/wand/pkg/spell GH-25
- Loading branch information