💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
如下定义匿名函数: ```scala (x:Int) => x*x (x:Int) => {println(x); x*x} () => {println("Hello)} val fun1 = (x:Int) => {println(x); x*x} fun1(2) ```