You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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/spellGH-25
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/spellClosesGH-25
To allow to compose, manipulate and read spell incantation options after the initial creation, two new types will be added for the spell packages:
spell.Options
— Ainterface
type as a generic representation forspell.Incantation
options.spell.Mixin
— Ainterface
type that allows to compose functions that processspell.Options
ofspell.Incantation
s.Apply(Options) (Options, error)
— applies genericspell.Options
tospell.Incantation
options.The text was updated successfully, but these errors were encountered: