We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/emicklei/melrose'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
package op
import (
"bytes"
"fmt"
"github.com/emicklei/melrose/core"
)
type Octave struct {
Target []core.Sequenceable
Offset core.HasValue
}
func (o Octave) S() core.Sequence {
return Join{Target: o.Target}.S().Octaved(core.Int(o.Offset))
}
func (o Octave) Storex() string {
var b bytes.Buffer
fmt.Fprintf(&b, "octave(%s", core.Storex(o.Offset))
core.AppendStorexList(&b, false, o.Target)
fmt.Fprintf(&b, ")")
return b.String()
}
// Replaced is part of Replaceable
func (o Octave) Replaced(from, to core.Sequenceable) core.Sequenceable {
if core.IsIdenticalTo(o, from) {
return to
}
return Octave{Target: replacedAll(o.Target, from, to), Offset: o.Offset}
}