企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
如下定义匿名函数: ```scala (x:Int) => x*x (x:Int) => {println(x); x*x} () => {println("Hello)} val fun1 = (x:Int) => {println(x); x*x} fun1(2) ```