We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Shashankss1205/CodeGraphContext'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
Functional.scala•300 B
package com.example.functional
object Functional {
def applyFunc(x: Int, f: Int => Int): Int = f(x)
def curriedAdd(x: Int)(y: Int): Int = x + y
val multiplier: Int => Int = (x: Int) => x * 2
def filterList(list: List[Int], p: Int => Boolean): List[Int] = {
list.filter(p)
}
}